Raytrix Light Field SDK  5.0
Rx::LFR::CSuperResolution Class Reference

Detailed Description

Provides methods to perform super resolution.

Inherits Rx::LFR::CParametersPimpl< CSuperResolution_Impl, Params::ESuperResolution::ID, Interfaces::ESuperResolution::ID >.

Public Types

typedef Interfaces::ESuperResolution::ID EnumInterfaceType
 
typedef Params::ESuperResolution::ID EnumType
 The type of the parameter enum. Is used by managed wrapper classes. More...
 

Public Member Functions

 CSuperResolution ()
 Default constructor. More...
 
 CSuperResolution (CSuperResolution &&xSuperResolution)
 Move constructor. More...
 
 ~CSuperResolution ()
 Destructor. More...
 
void AddImage (const CRxImage &xImage)
 Add image to the super resolution algorithm. More...
 
void Execute (CRxImage &xSuperResolvedImage)
 Executes the super resolution algorithm. More...
 
CSuperResolution_Impl & GetImpl ()
 Gets the non constant implementation. More...
 
const CSuperResolution_Impl & GetImpl () const
 Gets the constant implementation. More...
 
void * GetInterface (Interfaces::ESuperResolution::ID eInterface)
 Gets the interface defined by the given interface ID. More...
 
TInterface * GetInterface (Interfaces::ESuperResolution::ID eInterface)
 Gets the interface defined by the given interface ID. More...
 
const void * GetInterface (Interfaces::ESuperResolution::ID eInterface) const
 Gets the interface defined by the given interface ID. More...
 
const TInterface * GetInterface (Interfaces::ESuperResolution::ID eInterface) const
 Gets the interface defined by the given interface ID. More...
 
CParameters< Params::ESuperResolution::ID > & GetParams ()
 
const CParameters< Params::ESuperResolution::ID > & GetParams () const
 
bool HasInterface (Interfaces::ESuperResolution::ID eInterface)
 Queries if this object has the given interface. More...
 
CSuperResolutionoperator= (CSuperResolution &&xSuperResolution)
 Move assignment operator. More...
 
void SetCudaDevice (const CCudaDevice &xCudaDevice)
 Sets the CUDA device for the super resolution algorithm. More...
 

Member Typedef Documentation

◆ EnumInterfaceType

◆ EnumType

The type of the parameter enum. Is used by managed wrapper classes.

Constructor & Destructor Documentation

◆ CSuperResolution() [1/2]

Rx::LFR::CSuperResolution::CSuperResolution ( )

Default constructor.

◆ CSuperResolution() [2/2]

Rx::LFR::CSuperResolution::CSuperResolution ( CSuperResolution &&  xSuperResolution)

Move constructor.

Parameters
xSuperResolution[in,out] The super resolution instance.

◆ ~CSuperResolution()

Rx::LFR::CSuperResolution::~CSuperResolution ( )

Destructor.

Member Function Documentation

◆ AddImage()

void Rx::LFR::CSuperResolution::AddImage ( const CRxImage xImage)

Add image to the super resolution algorithm.

Parameters
xImage[in] The image.

◆ Execute()

void Rx::LFR::CSuperResolution::Execute ( CRxImage xSuperResolvedImage)

Executes the super resolution algorithm.

Parameters
xSuperResolvedImage[out] The super resolved image.

◆ GetImpl() [1/2]

CSuperResolution_Impl & Rx::LFR::CPimpl< CSuperResolution_Impl , Interfaces::ESuperResolution::ID >::GetImpl
inlineinherited

Gets the non constant implementation.

Returns
The implementation.

◆ GetImpl() [2/2]

const CSuperResolution_Impl & Rx::LFR::CPimpl< CSuperResolution_Impl , Interfaces::ESuperResolution::ID >::GetImpl
inlineinherited

Gets the constant implementation.

Returns
The implementation.

◆ GetInterface() [1/4]

void* Rx::LFR::CPimpl< CSuperResolution_Impl , Interfaces::ESuperResolution::ID >::GetInterface ( Interfaces::ESuperResolution::ID  eInterface)
inherited

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]

TInterface* Rx::LFR::CPimpl< CSuperResolution_Impl , Interfaces::ESuperResolution::ID >::GetInterface ( Interfaces::ESuperResolution::ID  eInterface)
inlineinherited

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]

const void* Rx::LFR::CPimpl< CSuperResolution_Impl , Interfaces::ESuperResolution::ID >::GetInterface ( Interfaces::ESuperResolution::ID  eInterface) const
inherited

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]

const TInterface* Rx::LFR::CPimpl< CSuperResolution_Impl , Interfaces::ESuperResolution::ID >::GetInterface ( Interfaces::ESuperResolution::ID  eInterface) const
inlineinherited

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()

bool Rx::LFR::CPimpl< CSuperResolution_Impl , Interfaces::ESuperResolution::ID >::HasInterface ( Interfaces::ESuperResolution::ID  eInterface)
inlineinherited

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.

◆ operator=()

CSuperResolution& Rx::LFR::CSuperResolution::operator= ( CSuperResolution &&  xSuperResolution)

Move assignment operator.

Parameters
xSuperResolution[in,out] The super resolution instance.
Returns
The instance.

◆ SetCudaDevice()

void Rx::LFR::CSuperResolution::SetCudaDevice ( const CCudaDevice xCudaDevice)

Sets the CUDA device for the super resolution algorithm.

If no CUDA device is set then the CPU implementation of the super resolution algorithm is used.

Parameters
xCudaDevice[in] The CUDA device.