Darwin
1.10(beta)
|
Class for holding as assignment to part locations and occlusion variables. More...
Public Member Functions | |
drwnPartsAssignment (unsigned numParts) | |
drwnPartsAssignment (const drwnPartsAssignment &assignment) | |
int | numParts () const |
int | numEqual (const drwnPartsAssignment &assignment) const |
unsigned | size () const |
bool | empty () const |
void | clear () |
void | resize (unsigned numParts) |
void | print (std::ostream &os=std::cout) const |
drwnPartsAssignment & | operator= (const drwnPartsAssignment &assignment) |
bool | operator== (const drwnPartsAssignment &assignment) const |
const cv::Point & | operator[] (unsigned indx) const |
Public Attributes | |
const drwnPartsModel * | model |
model that generated this assignment | |
cv::Point | centroid |
centroid location | |
vector< cv::Point > | locations |
parts locations | |
vector< bool > | occluded |
only includes parts | |
double | score |
score or multiplier (for constraints) | |
Class for holding as assignment to part locations and occlusion variables.