Darwin  1.10(beta)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Attributes | List of all members
drwnPartsModelMixture< T > Class Template Reference

Mixture of parts models (T must have a parts model interface). Inference returns the best scoring model and its parts locations. More...

Public Member Functions

bool empty () const
 
int size () const
 
void clear ()
 
void write (const char *filename) const
 
void read (const char *filename)
 
void add (T *model)
 
void copy (const T *model)
 
std::pair< int, double > inference (const cv::Mat &img, drwnPartsAssignment &mapAssignment) const
 
std::pair< int, double > inference (const cv::Mat &img, drwnPartsAssignment &mapAssignment, const vector< vector< cv::Mat > > &partPriors, const cv::Mat &centroidPrior) const
 
std::pair< int, double > inference (const cv::Mat &img, drwnPartsAssignment &mapAssignment, double &bestScale, double startScale, double endScale, int numLevels) const
 
std::pair< cv::Mat, cv::Mat > energyLandscape (const cv::Mat &img) const
 
void slidingWindowDetections (const cv::Mat &img, drwnObjectList &detections) const
 
void slidingWindowDetections (const cv::Mat &img, drwnObjectList &detections, int numLevelsPerOctave) const
 
T * operator[] (unsigned indx)
 
const T * operator[] (unsigned indx) const
 

Protected Attributes

vector< T * > _models
 

Detailed Description

template<typename T>
class drwnPartsModelMixture< T >

Mixture of parts models (T must have a parts model interface). Inference returns the best scoring model and its parts locations.


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