Inherits Rx::LFR::CParametersPimpl< CAreaDetection_Impl, Params::EAreaDetection::ID, Interfaces::EAreaDetection::ID >.
◆ EnumInterfaceType
◆ EnumType
The type of the parameter enum. Is used by managed wrapper classes.
◆ CAreaDetection()
Rx::LFR::CAreaDetection::CAreaDetection |
( |
| ) |
|
◆ ~CAreaDetection()
Rx::LFR::CAreaDetection::~CAreaDetection |
( |
| ) |
|
◆ Detect()
Tries to find occurrences of the template described by the detection area in the given image.
- Parameters
-
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. |
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. |
adDetectedAreas | [out] The detected areas. |
◆ Free()
void Rx::LFR::CAreaDetection::Free |
( |
| ) |
|
Frees the memory occupied by this object.
◆ GetImpl() [1/2]
Gets the non constant implementation.
- Returns
- The implementation.
◆ GetImpl() [2/2]
Gets the constant implementation.
- Returns
- The implementation.
◆ GetInterface() [1/4]
Gets the interface defined by the given interface ID.
- Parameters
-
eInterface | [in] The interface ID. |
- Returns
- Null if it fails, else the interface.
◆ GetInterface() [2/4]
Gets the interface defined by the given interface ID.
- Template Parameters
-
TInterface | [in] The interface type. |
- Parameters
-
eInterface | [in] The interface. |
- Returns
- Null if it fails, else the interface.
◆ GetInterface() [3/4]
Gets the interface defined by the given interface ID.
- Parameters
-
eInterface | [in] The interface ID. |
- Returns
- Null if it fails, else the interface.
◆ GetInterface() [4/4]
Gets the interface defined by the given interface ID.
- Template Parameters
-
TInterface | [in] The interface type. |
- Parameters
-
eInterface | [in] The interface ID. |
- Returns
- Null if it fails, else the interface.
◆ GetParams() [1/2]
◆ GetParams() [2/2]
◆ HasInterface()
Queries if this object has the given interface.
- Parameters
-
eInterface | [in] The interface to query. |
- Returns
- True if this class has the given interface, false if not.
◆ Initialize()
void Rx::LFR::CAreaDetection::Initialize |
( |
const CCudaDevice & |
xCudaDevice | ) |
|
Initializes this object using the given CUDA device.
- Parameters
-
xCudaDevice | The CUDA device. |
◆ SetImage()
void Rx::LFR::CAreaDetection::SetImage |
( |
const CRayImage & |
xRayImage, |
|
|
const CRxString & |
sxComputeParams |
|
) |
| |
Sets the image on which the detection shall take place.
- Parameters
-
xRayImage | The image. |
sxComputeParams | The compute parameter used for computing the needed images. |