|
bool | kjb::pt::pixel_visible (int x, int y, const Visibility &vis) |
| Helper function that determines if a pixel is visible. More...
|
|
bool | kjb::pt::empty_target (const Target &target) |
| Helper function; needed because, occasionally, C++ is stupid. More...
|
|
void | kjb::pt::fix_target (Target &target, double imw, double imh) |
| Helper function that fixes a track when it leaves the view. More...
|
|
template<class TargetIterator > |
void | kjb::pt::sample (const Position_prior &pos_prior, const Direction_prior &dir_prior, const Face_direction_prior &fdir_prior, const Normal_distribution &height_prior, const Normal_distribution &width_prior, const Normal_distribution &girth_prior, TargetIterator first, TargetIterator last) |
| Sample a scene from the prior (and a given sequence of tracks). More...
|
|
Perspective_camera | kjb::pt::sample (const Camera_prior &cam_prior) |
| Sample from camera prior. More...
|
|
Detection_box | kjb::pt::sample (const Box_likelihood &box_lh, const Bbox &mbox, const std::string &type) |
| Sample a single data box from a model box. More...
|
|
template<class TargetIterator > |
void | kjb::pt::sample (const Box_likelihood &box_lh, Box_data &box_data, TargetIterator first, TargetIterator last, const std::vector< size_t > fa_count) |
| Sample detection data from likelihood. More...
|
|
template<class FmvIterator > |
void | kjb::pt::sample (const Facemark_likelihood &fm_lh, const Scene &scene, FmvIterator fm_out) |
| Sample facemark data from likelihood. More...
|
|
template<class FlowIterator > |
void | kjb::pt::sample (const Optical_flow_likelihood &of_lh, const Scene &scene, FlowIterator xflow_out, FlowIterator yflow_out) |
| Sample optical flow data from likelihood. More...
|
|
template<class FmvIterator , class FlowOutIterator > |
void | kjb::pt::sample (const mcmcda::Prior< Target > &w_prior, const Camera_prior &cam_prior, const Scene_posterior &posterior, size_t T, Scene &scene, Box_data &box_data, FmvIterator fm_out, FlowOutIterator xflow_out, FlowOutIterator yflow_out, size_t max_tracks=0) |
| Sample from full generative model. More...
|
|