23 #ifndef PT_FACE_FLOW_LIKELIHOOD_H
24 #define PT_FACE_FLOW_LIKELIHOOD_H
48 const std::vector<Integral_flow>& flows_x,
49 const std::vector<Integral_flow>& flows_y,
61 m_x_dist(0.0, x_scale),
62 m_y_dist(0.0, y_scale),
63 m_bg_x_dist(0.0, bg_x_scale),
64 m_bg_y_dist(0.0, bg_y_scale)
78 const std::vector<Integral_flow>& m_flows_x;
79 const std::vector<Integral_flow>& m_flows_y;
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.
Definition: pt_face_flow_likelihood.h:47
Definition of various standard probability distributions.
Class to compute face optical flow likelihood.
Definition: pt_face_flow_likelihood.h:42
Class that represents a full scene in the PT universe.
Definition: pt_scene.h:40
double at_trajectory(const Target &target) const
Evaluate likelihood at boxes of a trajectory.
Definition: pt_face_flow_likelihood.cpp:47
boost::math::laplace Laplace_distribution
Definition: prob_distribution.h:67
2D face information resulting from projecting the 3D head/face.
Definition: pt_face_2d.h:37
Class that represents a target moving through space.
Definition: pt_target.h:50
double at_face(const Face_2d &face_2d, size_t cur_frame) const
Evaluate likelihood at a single box.
Definition: pt_face_flow_likelihood.cpp:66
double operator()(const Scene &scene) const
Evaluate this likelihood at the given scene.
Definition: pt_face_flow_likelihood.cpp:34