KJB
|
Class to compute face optical flow likelihood. More...
#include <pt_face_flow_likelihood.h>
Public Member Functions | |
Face_flow_likelihood (const std::vector< Integral_flow > &flows_x, const std::vector< Integral_flow > &flows_y, double img_width, double img_height, double x_scale, double y_scale, double bg_x_scale, double bg_y_scale) | |
Construct a face OF likelihood with the given parameters. More... | |
double | operator() (const Scene &scene) const |
Evaluate this likelihood at the given scene. More... | |
double | at_trajectory (const Target &target) const |
Evaluate likelihood at boxes of a trajectory. More... | |
double | at_face (const Face_2d &face_2d, size_t cur_frame) const |
Evaluate likelihood at a single box. More... | |
Class to compute face optical flow likelihood.
Features are not copied, so they must remain in scope while this class is alive.
|
inline |
Construct a face OF likelihood with the given parameters.
double Face_flow_likelihood::at_face | ( | const Face_2d & | face_2d, |
size_t | cur_frame | ||
) | const |
Evaluate likelihood at a single box.
double Face_flow_likelihood::at_trajectory | ( | const Target & | target | ) | const |
Evaluate likelihood at boxes of a trajectory.
double Face_flow_likelihood::operator() | ( | const Scene & | scene | ) | const |
Evaluate this likelihood at the given scene.