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

Class that represents likelihood of a set of projected boxes given. detections. At the moment it only uses box size and optical flow; in the future, it may be use other data information. More...

#include <pt_box_likelihood.h>

Public Member Functions

 Box_likelihood (double noise_weight, double image_width, double image_height, const std::string &dist_name=std::string("laplace"))
 
double operator() (const Scene &scene) const
 Evaluate this log-likelihood on the given scene. More...
 
double at_noise (const Scene &scene) const
 Evaluate this log-likelihood on the given scene. More...
 
double at_target (const Target &target) const
 Evaluate this log-likelihood on the given target. More...
 
double at_frame (const Target &target, size_t frame) const
 Evaluate this log-likelihood on the given frame. More...
 
double at_model (const Detection_box &dbox, const Body_2d &model) const
 Evaluate this log-likelihood on the given frame. More...
 
void get_params (const std::string &type, Vector &params_x, Vector &params_top, Vector &params_bot) const
 Computes line paramters given type of box. More...
 

Detailed Description

Class that represents likelihood of a set of projected boxes given. detections. At the moment it only uses box size and optical flow; in the future, it may be use other data information.

Constructor & Destructor Documentation

kjb::pt::Box_likelihood::Box_likelihood ( double  noise_weight,
double  image_width,
double  image_height,
const std::string &  dist_name = std::string("laplace") 
)
inline

Member Function Documentation

double Box_likelihood::at_frame ( const Target target,
size_t  frame 
) const

Evaluate this log-likelihood on the given frame.

double Box_likelihood::at_model ( const Detection_box dbox,
const Body_2d model 
) const

Evaluate this log-likelihood on the given frame.

double Box_likelihood::at_noise ( const Scene scene) const

Evaluate this log-likelihood on the given scene.

double Box_likelihood::at_target ( const Target target) const

Evaluate this log-likelihood on the given target.

void Box_likelihood::get_params ( const std::string &  type,
Vector params_x,
Vector params_top,
Vector params_bot 
) const

Computes line paramters given type of box.

double Box_likelihood::operator() ( const Scene scene) const

Evaluate this log-likelihood on the given scene.


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