KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
kjb::pt::Face_flow_likelihood Class Reference

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...
 

Detailed Description

Class to compute face optical flow likelihood.

Features are not copied, so they must remain in scope while this class is alive.

Constructor & Destructor Documentation

kjb::pt::Face_flow_likelihood::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 
)
inline

Construct a face OF likelihood with the given parameters.

Member Function Documentation

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.


The documentation for this class was generated from the following files: