#include <BlobOperators.h>
Public Member Functions | |
CBlobGetExternPerimeterRatio () | |
CBlobGetExternPerimeterRatio (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 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 499 of file BlobOperators.h.
Definition at line 502 of file BlobOperators.h.
CBlobGetExternPerimeterRatio::CBlobGetExternPerimeterRatio | ( | IplImage * | mask, |
bool | xBorder = true , |
||
bool | yBorder = true |
||
) | [inline] |
Definition at line 508 of file BlobOperators.h.
const char* CBlobGetExternPerimeterRatio::GetNom | ( | ) | [inline, virtual] |
double CBlobGetExternPerimeterRatio::operator() | ( | CBlob & | blob | ) | [inline, virtual] |
IplImage* CBlobGetExternPerimeterRatio::m_mask [private] |
Definition at line 526 of file BlobOperators.h.
bool CBlobGetExternPerimeterRatio::m_xBorder [private] |
Definition at line 527 of file BlobOperators.h.
bool CBlobGetExternPerimeterRatio::m_yBorder [private] |
Definition at line 527 of file BlobOperators.h.