Raytrix Light Field SDK  4.0
Logo
Public Types | Public Member Functions | List of all members
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. 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...
 
const void * GetInterface (Interfaces::ESuperResolution::ID eInterface) const
 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 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

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

Constructor & Destructor Documentation

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

Default constructor.

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

Move constructor.

Parameters
xSuperResolution[in,out] The super resolution instance.
Rx::LFR::CSuperResolution::~CSuperResolution ( )

Destructor.

Member Function Documentation

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

Add image to the super resolution algorithm.

Parameters
xImage[in] The image.
void Rx::LFR::CSuperResolution::Execute ( CRxImage xSuperResolvedImage)

Executes the super resolution.

Parameters
xSuperResolvedImage[out] The super resolved image.
CSuperResolution_Impl & Rx::LFR::CPimpl< CSuperResolution_Impl , Interfaces::ESuperResolution::ID >::GetImpl ( )
inlineinherited

Gets the non constant implementation.

Returns
The implementation.
const CSuperResolution_Impl & Rx::LFR::CPimpl< CSuperResolution_Impl , Interfaces::ESuperResolution::ID >::GetImpl ( ) const
inlineinherited

Gets the constant implementation.

Returns
The implementation.
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
eInterfaceThe interface ID.
Returns
Null if it fails, else the interface.
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
eInterfaceThe interface ID.
Returns
Null if it fails, else the interface.
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
TInterfaceThe interface type.
Parameters
eInterfaceThe interface.
Returns
Null if it fails, else the interface.
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
TInterfaceThe interface type.
Parameters
eInterfaceThe interface ID.
Returns
Null if it fails, else the interface.
bool Rx::LFR::CPimpl< CSuperResolution_Impl , Interfaces::ESuperResolution::ID >::HasInterface ( Interfaces::ESuperResolution::ID  eInterface)
inlineinherited

Queries if this object has the given interface.

Parameters
eInterfaceThe interface to query.
Returns
True if this class has the given interface, false if not.
CSuperResolution& Rx::LFR::CSuperResolution::operator= ( CSuperResolution &&  xSuperResolution)

Move assignment operator.

Parameters
xSuperResolution[in,out] The super resolution instance.
Returns
The instance.
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
xCudaDeviceThe CUDA device.