53 #ifndef KJB_COLOR_LIKELIHOOD_H_
54 #define KJB_COLOR_LIKELIHOOD_H_
74 typedef std::list<std::pair<int, int> >
Region;
110 m_image = cl.m_image;
120 double operator()(
const std::map<int, Region_vector>& object_regions);
double operator()(const std::map< int, Region_vector > &object_regions)
Calculates the log likelihood of the image edge set.
Definition: color_likelihood.cpp:60
Color_likelihood(const Image &image)
Constructor.
Definition: color_likelihood.h:98
Functor that computes the likelihood of a set of projected faces onto an image, using the color distr...
Definition: color_likelihood.h:91
This class implements matrices, in the linear-algebra sense, restricted to integer-valued elements...
Definition: l_int_matrix.h:71
Color_likelihood(const Color_likelihood &cl)
Copy constructor.
Definition: color_likelihood.h:102
std::list< std::pair< int, int > > Region
Later...
Definition: color_likelihood.h:74
Color_likelihood & operator=(const Color_likelihood &cl)
Assignment operator.
Definition: color_likelihood.h:106
std::vector< Region > Region_vector
Later...
Definition: color_likelihood.h:79
~Color_likelihood()
Destructor.
Definition: color_likelihood.h:117
Code for a wrapper class around the C struct KJB_Image.
Wrapped version of the C struct KJB_image.
Definition: i_image.h:76
std::map< int, Region_vector > get_regions_from_mask(const Int_matrix &mask, int region_length)
Later...
Definition: color_likelihood.cpp:28