Raytrix Light Field SDK  5.0
Rx::LFR::Net::AreaDetection::AreaDetection Class Reference

Detailed Description

The area detection class.

Inherits Rx::Net::NativeInterfaceWrapper< Rx::LFR::CAreaDetection, Rx::LFR::Net::Interfaces::EAreaDetection >.

Public Member Functions

 AreaDetection ()
 Default constructor. More...
 
 ~AreaDetection ()
 Destructor. More...
 
void Detect (array< double >^ adTemplate, array< double >^ adRoi, RX_OUT array< Area^>^ % adDetectedAreas)
 Tries to find occurrences of the template described adRect in the given image. More...
 
void Free ()
 Frees the memory occupied by this object. More...
 
virtual System::Object ^ GetInterface (Rx::LFR::Net::Interfaces::EAreaDetection eData)
 Gets the interface. More...
 
IParameters< Rx::LFR::Net::Params::EAreaDetection > ^ GetParams ()
 Gets the parameters access interface. More...
 
void Initialize (CudaDevice^ xCudaDevice)
 Initializes this object using the given CUDA device. More...
 
void SetImage (RayImage^ xRayImage, System::String^ sComputeParams)
 Sets the ray image on which the detection shall take place. More...
 

Constructor & Destructor Documentation

◆ AreaDetection()

Rx::LFR::Net::AreaDetection::AreaDetection::AreaDetection ( )
inline

Default constructor.

◆ ~AreaDetection()

Rx::LFR::Net::AreaDetection::AreaDetection::~AreaDetection ( )
inline

Destructor.

Member Function Documentation

◆ Detect()

void Rx::LFR::Net::AreaDetection::AreaDetection::Detect ( array< double >^  adTemplate,
array< double >^  adRoi,
RX_OUT array< Area^>^ %  adDetectedAreas 
)
inline

Tries to find occurrences of the template described adRect in the given image.

Parameters
adTemplate[in] The rectangle describing the location of the template (4 values, top left x and y, width and height).
adRoi[in] The rectangle describign the region of interest, in which to look for the template (4 values, top left x and y, width and height).
adDetectedAreas[out] The detected areas.

◆ Free()

void Rx::LFR::Net::AreaDetection::AreaDetection::Free ( )
inline

Frees the memory occupied by this object.

◆ GetInterface()

virtual System::Object ^ Rx::Net::NativeInterfaceWrapper< Rx::LFR::CAreaDetection , Rx::LFR::Net::Interfaces::EAreaDetection >::GetInterface ( Rx::LFR::Net::Interfaces::EAreaDetection  eData)
inlinevirtualinherited

Gets the interface.

Returns
The interface.

◆ GetParams()

IParameters<Rx::LFR::Net::Params::EAreaDetection> ^ Rx::LFR::Net::AreaDetection::AreaDetection::GetParams ( )
inline

Gets the parameters access interface.

Returns
The parameters access interface.

◆ Initialize()

void Rx::LFR::Net::AreaDetection::AreaDetection::Initialize ( CudaDevice xCudaDevice)
inline

Initializes this object using the given CUDA device.

Parameters
xCudaDevice[in] The CUDA device.

◆ SetImage()

void Rx::LFR::Net::AreaDetection::AreaDetection::SetImage ( RayImage xRayImage,
System::String^  sComputeParams 
)
inline

Sets the ray image on which the detection shall take place.

Parameters
xRayImage[in] The ray image.
sComputeParams[in] Compute parameter used for computing the needed images.