KJB
|
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 ¶ms_x, Vector ¶ms_top, Vector ¶ms_bot) const |
Computes line paramters given type of box. More... | |
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.
|
inline |
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.