Raytrix Light Field SDK
5.0
|
An AreaDetection Area.
Public Member Functions | |
SArea ()=default | |
SArea (int iX, int iY, int iDetectionWidth, int iDetectionHeight, int iTemplateWidth, int iTemplateHeight, double dTemplateRotationAngle, double dSimilarityValue) | |
~SArea ()=default | |
int | GetCenterX () |
Gets center x coordinate. More... | |
int | GetCenterY () |
Gets center y coordinate. More... | |
int * | GetTemplatePosition (unsigned &uSize) |
Gets the position of the template in this area, i.e. the rotated rectangle in the detection area. More... | |
bool | IsOverlap (const SArea &xRight) |
Determine if two Areas are overlapping each other. More... | |
Public Attributes | |
double | dSimilarityValue |
The similarity to the template. More... | |
double | dTemplateRotationAngle |
The rotation angle of the template that was found in this match. More... | |
int | iDetectionHeight |
The height of the detection area used to find this match. More... | |
int | iDetectionWidth |
The width of the detection area used to find this match. More... | |
int | iTemplateHeight |
Height of the template that was found in this match. More... | |
int | iTemplateWidth |
Width of the template that was found in this match. More... | |
int | iTopLeftX |
The top left x coordinate. More... | |
int | iTopLeftY |
The top left y coordinate. More... | |
|
default |
|
inline |
|
default |
|
inline |
Gets center x coordinate.
|
inline |
Gets center y coordinate.
int* Rx::LFR::AreaDetection::SArea::GetTemplatePosition | ( | unsigned & | uSize | ) |
Gets the position of the template in this area, i.e. the rotated rectangle in the detection area.
uSize | [out] The size of the output array. |
bool Rx::LFR::AreaDetection::SArea::IsOverlap | ( | const SArea & | xRight | ) |
Determine if two Areas are overlapping each other.
xRight | [in] The right. |
double Rx::LFR::AreaDetection::SArea::dSimilarityValue |
The similarity to the template.
double Rx::LFR::AreaDetection::SArea::dTemplateRotationAngle |
The rotation angle of the template that was found in this match.
int Rx::LFR::AreaDetection::SArea::iDetectionHeight |
The height of the detection area used to find this match.
int Rx::LFR::AreaDetection::SArea::iDetectionWidth |
The width of the detection area used to find this match.
int Rx::LFR::AreaDetection::SArea::iTemplateHeight |
Height of the template that was found in this match.
int Rx::LFR::AreaDetection::SArea::iTemplateWidth |
Width of the template that was found in this match.
int Rx::LFR::AreaDetection::SArea::iTopLeftX |
The top left x coordinate.
int Rx::LFR::AreaDetection::SArea::iTopLeftY |
The top left y coordinate.