#include <BlobOperators.h>
Public Member Functions | |
CBlobGetExternHullPerimeterRatio () | |
CBlobGetExternHullPerimeterRatio (IplImage *mask, bool xBorder=true, bool yBorder=true) | |
const char * | GetNom () |
Get operator name. | |
double | operator() (CBlob &blob) |
Aply operator to blob. | |
Private Attributes | |
IplImage * | m_mask |
bool | m_xBorder |
bool | m_yBorder |
Classe per calcular el ratio entre el perimetre convex i nombre pixels externs valors propers a 0 indiquen que la majoria del blob és intern valors propers a 1 indiquen que la majoria del blob és extern Class to calculate the ratio between the perimeter and the number of extern pixels
Definition at line 534 of file BlobOperators.h.
Definition at line 537 of file BlobOperators.h.
CBlobGetExternHullPerimeterRatio::CBlobGetExternHullPerimeterRatio | ( | IplImage * | mask, |
bool | xBorder = true , |
||
bool | yBorder = true |
||
) | [inline] |
Definition at line 543 of file BlobOperators.h.
const char* CBlobGetExternHullPerimeterRatio::GetNom | ( | ) | [inline, virtual] |
double CBlobGetExternHullPerimeterRatio::operator() | ( | CBlob & | blob | ) | [inline, virtual] |
IplImage* CBlobGetExternHullPerimeterRatio::m_mask [private] |
Definition at line 564 of file BlobOperators.h.
Definition at line 565 of file BlobOperators.h.
Definition at line 565 of file BlobOperators.h.