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

Class that represents color likelihood of a set of projected boxes given detections. More...

#include <pt_color_likelihood.h>

Public Member Functions

 Color_likelihood (size_t pixel_sampling=1, size_t frame_sampling=1)
 
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_box (const Body_2d &cur_b2d, const Body_2d &next_b2d, size_t cur_frame, size_t next_frame) const
 Evaluate likelihood at a single box. More...
 
void read_frames (const std::vector< std::string > &frame_fps)
 
void set_bg_r_matrix (const Matrix *bg_r_p)
 
void set_bg_g_matrix (const Matrix *bg_g_p)
 

Detailed Description

Class that represents color likelihood of a set of projected boxes given detections.

Constructor & Destructor Documentation

kjb::pt::Color_likelihood::Color_likelihood ( size_t  pixel_sampling = 1,
size_t  frame_sampling = 1 
)
inline

Member Function Documentation

double Color_likelihood::at_box ( const Body_2d cur_b2d,
const Body_2d next_b2d,
size_t  cur_frame,
size_t  next_frame 
) const

Evaluate likelihood at a single box.

double Color_likelihood::at_trajectory ( const Target target) const

Evaluate likelihood at boxes of a trajectory.

double kjb::pt::Color_likelihood::operator() ( const Scene scene) const

Evaluate this likelihood at the given scene.

void Color_likelihood::read_frames ( const std::vector< std::string > &  frame_fps)
void kjb::pt::Color_likelihood::set_bg_g_matrix ( const Matrix bg_g_p)
inline
void kjb::pt::Color_likelihood::set_bg_r_matrix ( const Matrix bg_r_p)
inline

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