Namespace: Rx::LFR – Class: CAreaDetection – Header: Rx.LFR/AreaDetection.h

CAreaDetection::Detect Method

C++
void Detect(const Rx::CRxArrayDouble& adTemplate, const Rx::CRxArrayDouble& adRoi, Rx::CRxArray<SAreaDetectionArea>* adDetectedAreas)

Tries to find occurrences of the template described by the detection area in the given image.

Parameters

[const Rx::CRxArrayDouble&] adTemplate

The rectangle (4 values, top left x and y, width and height) describing the position of the template to look for in the rest of the image.

[const Rx::CRxArrayDouble&] adRoi

The region of interest in which to look for the template (4 values, top left x and y, width and height). If width and height equal 0, no region of interest will be used.

[Rx::CRxArray<SAreaDetectionArea>*] adDetectedAreas

[out] The detected areas.