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

Detailed Description

Extends the default CRxImage class by a set of meta data and a calibration.

Inherits Rx::CRxImage.

Public Member Functions

 CRayImage ()
 Default constructor. Does not allocate image memory. More...
 
 CRayImage (CRayImage &&xRayFile)
 Move constructor. More...
 
virtual ~CRayImage ()
 Destructor. Frees all used memory. More...
 
void ConvertCustomType (CRxImage &xTrgImg) const
 Converts this image from a custom data type into the corresponding primitive data type. More...
 
bool ConvertType (CRxImage &xImage, Interop::Runtime28::EPixelType::ID ePixelType, Interop::Runtime28::EDataType::ID eDataType) const
 Convert this image to a different type and store result in xImage. More...
 
void Create (const CRxImage &xImage)
 Creates a copy of the given image. Only (re)allocates memory if required. More...
 
void Create (const CRxImageFormat &xFormat)
 Creates an image of the given format. Only (re)allocates memory if required. More...
 
void Create (const CRxImageFormat &xFormat, const void *pvImgData)
 Creates an image of the given format. Only (re)allocates memory if required. Copies the image data into this image. More...
 
void Create (CRxImage &&xImage)
 Creates this image by moving the data of the given image into this image. More...
 
virtual bool Create (int iWidth, int iHeight, Interop::Runtime28::EPixelType::ID ePixelType, Interop::Runtime28::EDataType::ID eDataType)
 Create an image of given type and size and reserve the appropriate amount of memory. No re-allocation is applied if this is of requested format. More...
 
virtual bool Create (int iWidth, int iHeight, Interop::Runtime28::EPixelType::ID ePixelType, Interop::Runtime28::EDataType::ID eDataType, const void *pData)
 Create an image of given type and size and copy the data from the given pointer. No re-allocation is applied if this is of requested format. More...
 
void CreateMoniker (const CRxImageFormat &xFormat, void *pvImgData, double dTimestamp=0.0, unsigned uID=0)
 Creates an image of the given format. This copies only the image data pointer. Does not allocate memory. More...
 
virtual bool Destroy ()
 Destroys this image if one has been created. Resets all internal variables. More...
 
virtual unsigned GetByteCount () const
 Gets the number of bytes of the whole image. More...
 
virtual int GetBytesPerPixel () const
 Get number of bytes per pixel. More...
 
CCalibrationGetCalibration ()
 Gets the calibration. More...
 
const CCalibrationGetCalibration () const
 Gets the calibration. More...
 
virtual void * GetDataPtr ()
 Return the pointer to the data array. More...
 
virtual const void * GetDataPtr () const
 Return the constant pointer to the data array. More...
 
const CRxImageFormatGetFormat () const
 Gets the image format. More...
 
unsigned GetID () const
 Gets the ID of this image. Is used to represent images captured by a camera or read from a sequence. More...
 
CMetaDataGetMetaData ()
 Gets the meta data. More...
 
const CMetaDataGetMetaData () const
 Gets the meta data. More...
 
void GetPixel (TPixel_Bay_BG_c &xPix, int iX, int iY) const
 
void GetPixel (TPixel_Bay_BG_d &xPix, int iX, int iY) const
 
void GetPixel (TPixel_Bay_BG_f &xPix, int iX, int iY) const
 
void GetPixel (TPixel_Bay_BG_i &xPix, int iX, int iY) const
 
void GetPixel (TPixel_Bay_BG_s &xPix, int iX, int iY) const
 
void GetPixel (TPixel_Bay_BG_uc &xPix, int iX, int iY) const
 
void GetPixel (TPixel_Bay_BG_ui &xPix, int iX, int iY) const
 
void GetPixel (TPixel_Bay_BG_us &xPix, int iX, int iY) const
 
void GetPixel (TPixel_Bay_GB_c &xPix, int iX, int iY) const
 
void GetPixel (TPixel_Bay_GB_d &xPix, int iX, int iY) const
 
void GetPixel (TPixel_Bay_GB_f &xPix, int iX, int iY) const
 
void GetPixel (TPixel_Bay_GB_i &xPix, int iX, int iY) const
 
void GetPixel (TPixel_Bay_GB_s &xPix, int iX, int iY) const
 
void GetPixel (TPixel_Bay_GB_uc &xPix, int iX, int iY) const
 
void GetPixel (TPixel_Bay_GB_ui &xPix, int iX, int iY) const
 
void GetPixel (TPixel_Bay_GB_us &xPix, int iX, int iY) const
 
void GetPixel (TPixel_Bay_GR_c &xPix, int iX, int iY) const
 
void GetPixel (TPixel_Bay_GR_d &xPix, int iX, int iY) const
 
void GetPixel (TPixel_Bay_GR_f &xPix, int iX, int iY) const
 
void GetPixel (TPixel_Bay_GR_i &xPix, int iX, int iY) const
 
void GetPixel (TPixel_Bay_GR_s &xPix, int iX, int iY) const
 
void GetPixel (TPixel_Bay_GR_uc &xPix, int iX, int iY) const
 
void GetPixel (TPixel_Bay_GR_ui &xPix, int iX, int iY) const
 
void GetPixel (TPixel_Bay_GR_us &xPix, int iX, int iY) const
 
void GetPixel (TPixel_Bay_RG_c &xPix, int iX, int iY) const
 
void GetPixel (TPixel_Bay_RG_d &xPix, int iX, int iY) const
 
void GetPixel (TPixel_Bay_RG_f &xPix, int iX, int iY) const
 
void GetPixel (TPixel_Bay_RG_i &xPix, int iX, int iY) const
 
void GetPixel (TPixel_Bay_RG_s &xPix, int iX, int iY) const
 
void GetPixel (TPixel_Bay_RG_uc &xPix, int iX, int iY) const
 
void GetPixel (TPixel_Bay_RG_ui &xPix, int iX, int iY) const
 
void GetPixel (TPixel_Bay_RG_us &xPix, int iX, int iY) const
 
void GetPixel (TPixel_BGR_c &xPix, int iX, int iY) const
 
void GetPixel (TPixel_BGR_d &xPix, int iX, int iY) const
 
void GetPixel (TPixel_BGR_f &xPix, int iX, int iY) const
 
void GetPixel (TPixel_BGR_i &xPix, int iX, int iY) const
 
void GetPixel (TPixel_BGR_s &xPix, int iX, int iY) const
 
void GetPixel (TPixel_BGR_uc &xPix, int iX, int iY) const
 
void GetPixel (TPixel_BGR_ui &xPix, int iX, int iY) const
 
void GetPixel (TPixel_BGR_us &xPix, int iX, int iY) const
 
void GetPixel (TPixel_BGRA_c &xPix, int iX, int iY) const
 
void GetPixel (TPixel_BGRA_d &xPix, int iX, int iY) const
 
void GetPixel (TPixel_BGRA_f &xPix, int iX, int iY) const
 
void GetPixel (TPixel_BGRA_i &xPix, int iX, int iY) const
 
void GetPixel (TPixel_BGRA_s &xPix, int iX, int iY) const
 
void GetPixel (TPixel_BGRA_uc &xPix, int iX, int iY) const
 
void GetPixel (TPixel_BGRA_ui &xPix, int iX, int iY) const
 
void GetPixel (TPixel_BGRA_us &xPix, int iX, int iY) const
 
void GetPixel (TPixel_L_c &xPix, int iX, int iY) const
 
void GetPixel (TPixel_L_d &xPix, int iX, int iY) const
 
void GetPixel (TPixel_L_f &xPix, int iX, int iY) const
 
void GetPixel (TPixel_L_i &xPix, int iX, int iY) const
 
void GetPixel (TPixel_L_s &xPix, int iX, int iY) const
 
void GetPixel (TPixel_L_uc &xPix, int iX, int iY) const
 
void GetPixel (TPixel_L_ui &xPix, int iX, int iY) const
 
void GetPixel (TPixel_L_us &xPix, int iX, int iY) const
 
void GetPixel (TPixel_LA_c &xPix, int iX, int iY) const
 
void GetPixel (TPixel_LA_d &xPix, int iX, int iY) const
 
void GetPixel (TPixel_LA_f &xPix, int iX, int iY) const
 
void GetPixel (TPixel_LA_i &xPix, int iX, int iY) const
 
void GetPixel (TPixel_LA_s &xPix, int iX, int iY) const
 
void GetPixel (TPixel_LA_uc &xPix, int iX, int iY) const
 
void GetPixel (TPixel_LA_ui &xPix, int iX, int iY) const
 
void GetPixel (TPixel_LA_us &xPix, int iX, int iY) const
 
void GetPixel (TPixel_RGB_c &xPix, int iX, int iY) const
 
void GetPixel (TPixel_RGB_d &xPix, int iX, int iY) const
 
void GetPixel (TPixel_RGB_f &xPix, int iX, int iY) const
 
void GetPixel (TPixel_RGB_i &xPix, int iX, int iY) const
 
void GetPixel (TPixel_RGB_s &xPix, int iX, int iY) const
 
void GetPixel (TPixel_RGB_uc &xPix, int iX, int iY) const
 
void GetPixel (TPixel_RGB_ui &xPix, int iX, int iY) const
 
void GetPixel (TPixel_RGB_us &xPix, int iX, int iY) const
 
void GetPixel (TPixel_RGBA_c &xPix, int iX, int iY) const
 
void GetPixel (TPixel_RGBA_d &xPix, int iX, int iY) const
 
void GetPixel (TPixel_RGBA_f &xPix, int iX, int iY) const
 
void GetPixel (TPixel_RGBA_i &xPix, int iX, int iY) const
 
void GetPixel (TPixel_RGBA_s &xPix, int iX, int iY) const
 
void GetPixel (TPixel_RGBA_uc &xPix, int iX, int iY) const
 
void GetPixel (TPixel_RGBA_ui &xPix, int iX, int iY) const
 
void GetPixel (TPixel_RGBA_us &xPix, int iX, int iY) const
 
virtual unsigned GetPixelCount () const
 Gets the number of pixels. More...
 
virtual void GetSize (int &iWidth, int &iHeight) const
 Gets the size of the image. More...
 
double GetTimestamp () const
 Gets the timestamp of the image capture. Is 0.0 if this image has no timestamp. More...
 
virtual void GetType (Interop::Runtime28::EPixelType::ID &ePixelType, Interop::Runtime28::EDataType::ID &eDataType) const
 Gets the type of the image. More...
 
bool IsMoniker () const
 Query if this image is a moniker. More...
 
bool IsOfType (Interop::Runtime28::EPixelType::ID ePixelType, Interop::Runtime28::EDataType::ID eDataType) const
 Test whether image is of a particular pixel and data type. More...
 
virtual bool IsValid () const
 Query if this image is valid. More...
 
bool Normalize ()
 Find minimal and maximal value of image and normalize image to range [0,1]. More...
 
CRayImageoperator= (CRayImage &&xRayFile)
 Move assignment operator. More...
 
bool Set (const void *pvImgData)
 Copies the content of the given image data into this image. More...
 
void SetID (unsigned uID)
 Sets the ID of this image. Is used to represent images captured by a camera or read from a sequence. More...
 
void SetPixel (const TPixel_Bay_BG_c &xPix, int iX, int iY)
 
void SetPixel (const TPixel_Bay_BG_d &xPix, int iX, int iY)
 
void SetPixel (const TPixel_Bay_BG_f &xPix, int iX, int iY)
 
void SetPixel (const TPixel_Bay_BG_i &xPix, int iX, int iY)
 
void SetPixel (const TPixel_Bay_BG_s &xPix, int iX, int iY)
 
void SetPixel (const TPixel_Bay_BG_uc &xPix, int iX, int iY)
 
void SetPixel (const TPixel_Bay_BG_ui &xPix, int iX, int iY)
 
void SetPixel (const TPixel_Bay_BG_us &xPix, int iX, int iY)
 
void SetPixel (const TPixel_Bay_GB_c &xPix, int iX, int iY)
 
void SetPixel (const TPixel_Bay_GB_d &xPix, int iX, int iY)
 
void SetPixel (const TPixel_Bay_GB_f &xPix, int iX, int iY)
 
void SetPixel (const TPixel_Bay_GB_i &xPix, int iX, int iY)
 
void SetPixel (const TPixel_Bay_GB_s &xPix, int iX, int iY)
 
void SetPixel (const TPixel_Bay_GB_uc &xPix, int iX, int iY)
 
void SetPixel (const TPixel_Bay_GB_ui &xPix, int iX, int iY)
 
void SetPixel (const TPixel_Bay_GB_us &xPix, int iX, int iY)
 
void SetPixel (const TPixel_Bay_GR_c &xPix, int iX, int iY)
 
void SetPixel (const TPixel_Bay_GR_d &xPix, int iX, int iY)
 
void SetPixel (const TPixel_Bay_GR_f &xPix, int iX, int iY)
 
void SetPixel (const TPixel_Bay_GR_i &xPix, int iX, int iY)
 
void SetPixel (const TPixel_Bay_GR_s &xPix, int iX, int iY)
 
void SetPixel (const TPixel_Bay_GR_uc &xPix, int iX, int iY)
 
void SetPixel (const TPixel_Bay_GR_ui &xPix, int iX, int iY)
 
void SetPixel (const TPixel_Bay_GR_us &xPix, int iX, int iY)
 
void SetPixel (const TPixel_Bay_RG_c &xPix, int iX, int iY)
 
void SetPixel (const TPixel_Bay_RG_d &xPix, int iX, int iY)
 
void SetPixel (const TPixel_Bay_RG_f &xPix, int iX, int iY)
 
void SetPixel (const TPixel_Bay_RG_i &xPix, int iX, int iY)
 
void SetPixel (const TPixel_Bay_RG_s &xPix, int iX, int iY)
 
void SetPixel (const TPixel_Bay_RG_uc &xPix, int iX, int iY)
 
void SetPixel (const TPixel_Bay_RG_ui &xPix, int iX, int iY)
 
void SetPixel (const TPixel_Bay_RG_us &xPix, int iX, int iY)
 
void SetPixel (const TPixel_BGR_c &xPix, int iX, int iY)
 
void SetPixel (const TPixel_BGR_d &xPix, int iX, int iY)
 
void SetPixel (const TPixel_BGR_f &xPix, int iX, int iY)
 
void SetPixel (const TPixel_BGR_i &xPix, int iX, int iY)
 
void SetPixel (const TPixel_BGR_s &xPix, int iX, int iY)
 
void SetPixel (const TPixel_BGR_uc &xPix, int iX, int iY)
 
void SetPixel (const TPixel_BGR_ui &xPix, int iX, int iY)
 
void SetPixel (const TPixel_BGR_us &xPix, int iX, int iY)
 
void SetPixel (const TPixel_BGRA_c &xPix, int iX, int iY)
 
void SetPixel (const TPixel_BGRA_d &xPix, int iX, int iY)
 
void SetPixel (const TPixel_BGRA_f &xPix, int iX, int iY)
 
void SetPixel (const TPixel_BGRA_i &xPix, int iX, int iY)
 
void SetPixel (const TPixel_BGRA_s &xPix, int iX, int iY)
 
void SetPixel (const TPixel_BGRA_uc &xPix, int iX, int iY)
 
void SetPixel (const TPixel_BGRA_ui &xPix, int iX, int iY)
 
void SetPixel (const TPixel_BGRA_us &xPix, int iX, int iY)
 
void SetPixel (const TPixel_L_c &xPix, int iX, int iY)
 
void SetPixel (const TPixel_L_d &xPix, int iX, int iY)
 
void SetPixel (const TPixel_L_f &xPix, int iX, int iY)
 
void SetPixel (const TPixel_L_i &xPix, int iX, int iY)
 
void SetPixel (const TPixel_L_s &xPix, int iX, int iY)
 
void SetPixel (const TPixel_L_uc &xPix, int iX, int iY)
 
void SetPixel (const TPixel_L_ui &xPix, int iX, int iY)
 
void SetPixel (const TPixel_L_us &xPix, int iX, int iY)
 
void SetPixel (const TPixel_LA_c &xPix, int iX, int iY)
 
void SetPixel (const TPixel_LA_d &xPix, int iX, int iY)
 
void SetPixel (const TPixel_LA_f &xPix, int iX, int iY)
 
void SetPixel (const TPixel_LA_i &xPix, int iX, int iY)
 
void SetPixel (const TPixel_LA_s &xPix, int iX, int iY)
 
void SetPixel (const TPixel_LA_uc &xPix, int iX, int iY)
 
void SetPixel (const TPixel_LA_ui &xPix, int iX, int iY)
 
void SetPixel (const TPixel_LA_us &xPix, int iX, int iY)
 
void SetPixel (const TPixel_RGB_c &xPix, int iX, int iY)
 
void SetPixel (const TPixel_RGB_d &xPix, int iX, int iY)
 
void SetPixel (const TPixel_RGB_f &xPix, int iX, int iY)
 
void SetPixel (const TPixel_RGB_i &xPix, int iX, int iY)
 
void SetPixel (const TPixel_RGB_s &xPix, int iX, int iY)
 
void SetPixel (const TPixel_RGB_uc &xPix, int iX, int iY)
 
void SetPixel (const TPixel_RGB_ui &xPix, int iX, int iY)
 
void SetPixel (const TPixel_RGB_us &xPix, int iX, int iY)
 
void SetPixel (const TPixel_RGBA_c &xPix, int iX, int iY)
 
void SetPixel (const TPixel_RGBA_d &xPix, int iX, int iY)
 
void SetPixel (const TPixel_RGBA_f &xPix, int iX, int iY)
 
void SetPixel (const TPixel_RGBA_i &xPix, int iX, int iY)
 
void SetPixel (const TPixel_RGBA_s &xPix, int iX, int iY)
 
void SetPixel (const TPixel_RGBA_uc &xPix, int iX, int iY)
 
void SetPixel (const TPixel_RGBA_ui &xPix, int iX, int iY)
 
void SetPixel (const TPixel_RGBA_us &xPix, int iX, int iY)
 
void SetROIDefinition (const CRxImageFormat::TInt4 &piROIDefinition)
 Sets the ROI definition. More...
 
void SetTimestamp (double dTimestamp)
 Sets the timestamp of the image capture. More...
 
void SetTimestampID (double dTimestamp, unsigned uID)
 Sets the timestamp and the ID of the image. More...
 
void SetZero ()
 Sets the image data to contain only zeros. More...
 
void Swap (CRxImage &xImage)
 Swaps the data between this and the given image. More...
 

Static Public Member Functions

static bool ConvertMemory (void *pTrgMem, const void *pSrcMem, const CRxImageFormat &xTrgFormat, const CRxImageFormat &xSrcFormat)
 Convert the pSrcMem memory to a different type and store result in memory pTrgMem. More...
 
static bool ConvertType (CRxImage &xDstImg, const CRxImage &xSrcImg, Interop::Runtime28::EPixelType::ID ePixelType, Interop::Runtime28::EDataType::ID eDataType)
 Convert the pSrcImage to a different type and store result in pDstImage. More...
 

Protected Member Functions

template<class TPix >
TPix & _GetPixel (int iX, int iY)
 
template<class TPix >
const TPix & _GetPixel (int iX, int iY) const
 

Static Protected Member Functions

template<class TTrgPix , class TSrcPix >
static bool _Convert (unsigned uPixelCount, TTrgPix *pTrgPix, const TSrcPix *pSrcPix)
 
template<class TPix >
static bool _ConvertSrcSwitch (const void *pSrcMem, const CRxImageFormat &xSrcFormat, TPix *pTrgPix)
 
static bool _ConvertTrgSwitch (void *pDstMem, const void *pSrcMem, const CRxImageFormat &xDstFormat, const CRxImageFormat &xSrcFormat)
 

Protected Attributes

bool m_bIsMoniker
 True if this image is only a moniker for an image data pointer. The memory is not freed in the destructor. More...
 
double m_dTimestamp
 The timestamp of the image capture. Is 0.0 if this image has no timestamp. More...
 
void * m_pvData
 The actual image data. More...
 
IAllocatorm_pxAllocator
 The allocator. More...
 
unsigned m_uID
 The image ID. Is used to represent images captured by a camera or read from a sequence. More...
 
CRxImageFormat m_xFormat
 The format of this image. More...
 

Constructor & Destructor Documentation

◆ CRayImage() [1/2]

Rx::LFR::CRayImage::CRayImage ( )

Default constructor. Does not allocate image memory.

◆ CRayImage() [2/2]

Rx::LFR::CRayImage::CRayImage ( CRayImage &&  xRayFile)

Move constructor.

Parameters
xRayFile[in,out] The ray file to move. Is invalid after this call.

◆ ~CRayImage()

virtual Rx::LFR::CRayImage::~CRayImage ( )
virtual

Destructor. Frees all used memory.

Member Function Documentation

◆ _Convert()

template<class TTrgPix , class TSrcPix >
static bool Rx::CRxImage::_Convert ( unsigned  uPixelCount,
TTrgPix *  pTrgPix,
const TSrcPix *  pSrcPix 
)
staticprotectedinherited

◆ _ConvertSrcSwitch()

template<class TPix >
static bool Rx::CRxImage::_ConvertSrcSwitch ( const void *  pSrcMem,
const CRxImageFormat xSrcFormat,
TPix *  pTrgPix 
)
staticprotectedinherited

◆ _ConvertTrgSwitch()

static bool Rx::CRxImage::_ConvertTrgSwitch ( void *  pDstMem,
const void *  pSrcMem,
const CRxImageFormat xDstFormat,
const CRxImageFormat xSrcFormat 
)
staticprotectedinherited

◆ _GetPixel() [1/2]

template<class TPix >
TPix& Rx::CRxImage::_GetPixel ( int  iX,
int  iY 
)
protectedinherited

◆ _GetPixel() [2/2]

template<class TPix >
const TPix& Rx::CRxImage::_GetPixel ( int  iX,
int  iY 
) const
protectedinherited

◆ ConvertCustomType()

void Rx::CRxImage::ConvertCustomType ( CRxImage xTrgImg) const
inherited

Converts this image from a custom data type into the corresponding primitive data type.

The following conversion are implemented:

  • EDataType::Custom_10in16_LSB into EDataType::UShort
  • EDataType::Custom_12in16_LSB into EDataType::UShort.
Parameters
xTrgImg[out] The target image. This is created within the correct format.

◆ ConvertMemory()

static bool Rx::CRxImage::ConvertMemory ( void *  pTrgMem,
const void *  pSrcMem,
const CRxImageFormat xTrgFormat,
const CRxImageFormat xSrcFormat 
)
staticinherited

Convert the pSrcMem memory to a different type and store result in memory pTrgMem.

Parameters
pTrgMem[in] Target memory (must have correct target size).
pSrcMemSource memory.
xTrgFormatThe target image format.
xSrcFormatThe source image format.
Returns
True if it succeeds, false if it fails.

◆ ConvertType() [1/2]

static bool Rx::CRxImage::ConvertType ( CRxImage xDstImg,
const CRxImage xSrcImg,
Interop::Runtime28::EPixelType::ID  ePixelType,
Interop::Runtime28::EDataType::ID  eDataType 
)
staticinherited

Convert the pSrcImage to a different type and store result in pDstImage.

Parameters
xDstImg[in,out] The target image.
xSrcImgThe source image.
ePixelTypeThe target pixel type.
eDataTypeThe targer data type.
Returns
False if an error occurred, otherwise true.

◆ ConvertType() [2/2]

bool Rx::CRxImage::ConvertType ( CRxImage xImage,
Interop::Runtime28::EPixelType::ID  ePixelType,
Interop::Runtime28::EDataType::ID  eDataType 
) const
inherited

Convert this image to a different type and store result in xImage.

Parameters
xImage[in,out] The image instance into which to write the result. The size of this image is adapted to this size.
ePixelTypeThe target pixel type.
eDataTypeThe target data type.
Returns
False if an error occurred, otherwise true.

◆ Create() [1/6]

void Rx::CRxImage::Create ( const CRxImage xImage)
inherited

Creates a copy of the given image. Only (re)allocates memory if required.

Parameters
xImageThe image to copy.

◆ Create() [2/6]

void Rx::CRxImage::Create ( const CRxImageFormat xFormat)
inherited

Creates an image of the given format. Only (re)allocates memory if required.

Parameters
xFormatThe image format.

◆ Create() [3/6]

void Rx::CRxImage::Create ( const CRxImageFormat xFormat,
const void *  pvImgData 
)
inherited

Creates an image of the given format. Only (re)allocates memory if required. Copies the image data into this image.

Parameters
xFormatThe image format.
pvImgDataPointer to the image data.

◆ Create() [4/6]

void Rx::CRxImage::Create ( CRxImage &&  xImage)
inherited

Creates this image by moving the data of the given image into this image.

Parameters
xImage[in,out] The image to move. Is invalid after this call.

◆ Create() [5/6]

virtual bool Rx::CRxImage::Create ( int  iWidth,
int  iHeight,
Interop::Runtime28::EPixelType::ID  ePixelType,
Interop::Runtime28::EDataType::ID  eDataType 
)
virtualinherited

Create an image of given type and size and reserve the appropriate amount of memory. No re-allocation is applied if this is of requested format.

Parameters
iWidthThe width of image.
iHeightThe height of the image.
ePixelTypeThe pixel type.
eDataTypeThe data type.
Returns
True if it succeeds, false if it fails.

Implements Rx::Interop::Runtime28::IImage.

◆ Create() [6/6]

virtual bool Rx::CRxImage::Create ( int  iWidth,
int  iHeight,
Interop::Runtime28::EPixelType::ID  ePixelType,
Interop::Runtime28::EDataType::ID  eDataType,
const void *  pData 
)
virtualinherited

Create an image of given type and size and copy the data from the given pointer. No re-allocation is applied if this is of requested format.

Parameters
iWidthWidth of image.
iHeightHeight.
ePixelTypeType of the pixel.
eDataTypeType of the data.
pDataThe data.
Returns
True if it succeeds, false if it fails.

Implements Rx::Interop::Runtime28::IImage.

◆ CreateMoniker()

void Rx::CRxImage::CreateMoniker ( const CRxImageFormat xFormat,
void *  pvImgData,
double  dTimestamp = 0.0,
unsigned  uID = 0 
)
inherited

Creates an image of the given format. This copies only the image data pointer. Does not allocate memory.

An images created with this method does never free the memory behind the pointer. The pointer responsibility stays with the caller.

Parameters
xFormatThe image format.
pvImgDataThe image data pointer.
dTimestamp(Optional) The timestamp of the image capture.
uID(Optional) The image ID.

◆ Destroy()

virtual bool Rx::CRxImage::Destroy ( )
virtualinherited

Destroys this image if one has been created. Resets all internal variables.

Returns
True if it succeeds, false if it fails.

Implements Rx::Interop::Runtime28::IImage.

◆ GetByteCount()

virtual unsigned Rx::CRxImage::GetByteCount ( ) const
inlinevirtualinherited

Gets the number of bytes of the whole image.

Returns
The byte count.

Implements Rx::Interop::Runtime28::IImage.

◆ GetBytesPerPixel()

virtual int Rx::CRxImage::GetBytesPerPixel ( ) const
inlinevirtualinherited

Get number of bytes per pixel.

Returns
The bytes per pixel.

Implements Rx::Interop::Runtime28::IImage.

◆ GetCalibration() [1/2]

CCalibration& Rx::LFR::CRayImage::GetCalibration ( )
inline

Gets the calibration.

Returns
The calibration.

◆ GetCalibration() [2/2]

const CCalibration& Rx::LFR::CRayImage::GetCalibration ( ) const
inline

Gets the calibration.

Returns
The calibration.

◆ GetDataPtr() [1/2]

virtual void* Rx::CRxImage::GetDataPtr ( )
inlinevirtualinherited

Return the pointer to the data array.

Returns
Null if it fails, else the data pointer.

Implements Rx::Interop::Runtime28::IImage.

◆ GetDataPtr() [2/2]

virtual const void* Rx::CRxImage::GetDataPtr ( ) const
inlinevirtualinherited

Return the constant pointer to the data array.

Returns
Null if it fails, else the data pointer.

Implements Rx::Interop::Runtime28::IImage.

◆ GetFormat()

const CRxImageFormat& Rx::CRxImage::GetFormat ( ) const
inlineinherited

Gets the image format.

Returns
The format.

◆ GetID()

unsigned Rx::CRxImage::GetID ( ) const
inlineinherited

Gets the ID of this image. Is used to represent images captured by a camera or read from a sequence.

Returns
The ID of this image.

◆ GetMetaData() [1/2]

CMetaData& Rx::LFR::CRayImage::GetMetaData ( )
inline

Gets the meta data.

Returns
The meta data.

◆ GetMetaData() [2/2]

const CMetaData& Rx::LFR::CRayImage::GetMetaData ( ) const
inline

Gets the meta data.

Returns
The meta data.

◆ GetPixel() [1/80]

void Rx::CRxImage::GetPixel ( TPixel_Bay_BG_c xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [2/80]

void Rx::CRxImage::GetPixel ( TPixel_Bay_BG_d xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [3/80]

void Rx::CRxImage::GetPixel ( TPixel_Bay_BG_f xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [4/80]

void Rx::CRxImage::GetPixel ( TPixel_Bay_BG_i xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [5/80]

void Rx::CRxImage::GetPixel ( TPixel_Bay_BG_s xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [6/80]

void Rx::CRxImage::GetPixel ( TPixel_Bay_BG_uc xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [7/80]

void Rx::CRxImage::GetPixel ( TPixel_Bay_BG_ui xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [8/80]

void Rx::CRxImage::GetPixel ( TPixel_Bay_BG_us xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [9/80]

void Rx::CRxImage::GetPixel ( TPixel_Bay_GB_c xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [10/80]

void Rx::CRxImage::GetPixel ( TPixel_Bay_GB_d xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [11/80]

void Rx::CRxImage::GetPixel ( TPixel_Bay_GB_f xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [12/80]

void Rx::CRxImage::GetPixel ( TPixel_Bay_GB_i xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [13/80]

void Rx::CRxImage::GetPixel ( TPixel_Bay_GB_s xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [14/80]

void Rx::CRxImage::GetPixel ( TPixel_Bay_GB_uc xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [15/80]

void Rx::CRxImage::GetPixel ( TPixel_Bay_GB_ui xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [16/80]

void Rx::CRxImage::GetPixel ( TPixel_Bay_GB_us xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [17/80]

void Rx::CRxImage::GetPixel ( TPixel_Bay_GR_c xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [18/80]

void Rx::CRxImage::GetPixel ( TPixel_Bay_GR_d xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [19/80]

void Rx::CRxImage::GetPixel ( TPixel_Bay_GR_f xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [20/80]

void Rx::CRxImage::GetPixel ( TPixel_Bay_GR_i xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [21/80]

void Rx::CRxImage::GetPixel ( TPixel_Bay_GR_s xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [22/80]

void Rx::CRxImage::GetPixel ( TPixel_Bay_GR_uc xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [23/80]

void Rx::CRxImage::GetPixel ( TPixel_Bay_GR_ui xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [24/80]

void Rx::CRxImage::GetPixel ( TPixel_Bay_GR_us xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [25/80]

void Rx::CRxImage::GetPixel ( TPixel_Bay_RG_c xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [26/80]

void Rx::CRxImage::GetPixel ( TPixel_Bay_RG_d xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [27/80]

void Rx::CRxImage::GetPixel ( TPixel_Bay_RG_f xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [28/80]

void Rx::CRxImage::GetPixel ( TPixel_Bay_RG_i xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [29/80]

void Rx::CRxImage::GetPixel ( TPixel_Bay_RG_s xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [30/80]

void Rx::CRxImage::GetPixel ( TPixel_Bay_RG_uc xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [31/80]

void Rx::CRxImage::GetPixel ( TPixel_Bay_RG_ui xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [32/80]

void Rx::CRxImage::GetPixel ( TPixel_Bay_RG_us xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [33/80]

void Rx::CRxImage::GetPixel ( TPixel_BGR_c xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [34/80]

void Rx::CRxImage::GetPixel ( TPixel_BGR_d xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [35/80]

void Rx::CRxImage::GetPixel ( TPixel_BGR_f xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [36/80]

void Rx::CRxImage::GetPixel ( TPixel_BGR_i xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [37/80]

void Rx::CRxImage::GetPixel ( TPixel_BGR_s xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [38/80]

void Rx::CRxImage::GetPixel ( TPixel_BGR_uc xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [39/80]

void Rx::CRxImage::GetPixel ( TPixel_BGR_ui xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [40/80]

void Rx::CRxImage::GetPixel ( TPixel_BGR_us xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [41/80]

void Rx::CRxImage::GetPixel ( TPixel_BGRA_c xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [42/80]

void Rx::CRxImage::GetPixel ( TPixel_BGRA_d xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [43/80]

void Rx::CRxImage::GetPixel ( TPixel_BGRA_f xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [44/80]

void Rx::CRxImage::GetPixel ( TPixel_BGRA_i xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [45/80]

void Rx::CRxImage::GetPixel ( TPixel_BGRA_s xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [46/80]

void Rx::CRxImage::GetPixel ( TPixel_BGRA_uc xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [47/80]

void Rx::CRxImage::GetPixel ( TPixel_BGRA_ui xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [48/80]

void Rx::CRxImage::GetPixel ( TPixel_BGRA_us xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [49/80]

void Rx::CRxImage::GetPixel ( TPixel_L_c xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [50/80]

void Rx::CRxImage::GetPixel ( TPixel_L_d xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [51/80]

void Rx::CRxImage::GetPixel ( TPixel_L_f xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [52/80]

void Rx::CRxImage::GetPixel ( TPixel_L_i xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [53/80]

void Rx::CRxImage::GetPixel ( TPixel_L_s xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [54/80]

void Rx::CRxImage::GetPixel ( TPixel_L_uc xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [55/80]

void Rx::CRxImage::GetPixel ( TPixel_L_ui xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [56/80]

void Rx::CRxImage::GetPixel ( TPixel_L_us xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [57/80]

void Rx::CRxImage::GetPixel ( TPixel_LA_c xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [58/80]

void Rx::CRxImage::GetPixel ( TPixel_LA_d xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [59/80]

void Rx::CRxImage::GetPixel ( TPixel_LA_f xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [60/80]

void Rx::CRxImage::GetPixel ( TPixel_LA_i xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [61/80]

void Rx::CRxImage::GetPixel ( TPixel_LA_s xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [62/80]

void Rx::CRxImage::GetPixel ( TPixel_LA_uc xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [63/80]

void Rx::CRxImage::GetPixel ( TPixel_LA_ui xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [64/80]

void Rx::CRxImage::GetPixel ( TPixel_LA_us xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [65/80]

void Rx::CRxImage::GetPixel ( TPixel_RGB_c xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [66/80]

void Rx::CRxImage::GetPixel ( TPixel_RGB_d xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [67/80]

void Rx::CRxImage::GetPixel ( TPixel_RGB_f xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [68/80]

void Rx::CRxImage::GetPixel ( TPixel_RGB_i xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [69/80]

void Rx::CRxImage::GetPixel ( TPixel_RGB_s xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [70/80]

void Rx::CRxImage::GetPixel ( TPixel_RGB_uc xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [71/80]

void Rx::CRxImage::GetPixel ( TPixel_RGB_ui xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [72/80]

void Rx::CRxImage::GetPixel ( TPixel_RGB_us xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [73/80]

void Rx::CRxImage::GetPixel ( TPixel_RGBA_c xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [74/80]

void Rx::CRxImage::GetPixel ( TPixel_RGBA_d xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [75/80]

void Rx::CRxImage::GetPixel ( TPixel_RGBA_f xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [76/80]

void Rx::CRxImage::GetPixel ( TPixel_RGBA_i xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [77/80]

void Rx::CRxImage::GetPixel ( TPixel_RGBA_s xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [78/80]

void Rx::CRxImage::GetPixel ( TPixel_RGBA_uc xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [79/80]

void Rx::CRxImage::GetPixel ( TPixel_RGBA_ui xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixel() [80/80]

void Rx::CRxImage::GetPixel ( TPixel_RGBA_us xPix,
int  iX,
int  iY 
) const
inherited

◆ GetPixelCount()

virtual unsigned Rx::CRxImage::GetPixelCount ( ) const
inlinevirtualinherited

Gets the number of pixels.

Returns
The pixel count.

Implements Rx::Interop::Runtime28::IImage.

◆ GetSize()

virtual void Rx::CRxImage::GetSize ( int &  iWidth,
int &  iHeight 
) const
inlinevirtualinherited

Gets the size of the image.

Parameters
iWidth[out] The width.
iHeight[out] The height.

Implements Rx::Interop::Runtime28::IImage.

◆ GetTimestamp()

double Rx::CRxImage::GetTimestamp ( ) const
inlineinherited

Gets the timestamp of the image capture. Is 0.0 if this image has no timestamp.

Returns
The timestamp.

◆ GetType()

virtual void Rx::CRxImage::GetType ( Interop::Runtime28::EPixelType::ID ePixelType,
Interop::Runtime28::EDataType::ID eDataType 
) const
inlinevirtualinherited

Gets the type of the image.

Parameters
ePixelType[out] The pixel type.
eDataType[out] The data type.

Implements Rx::Interop::Runtime28::IImage.

◆ IsMoniker()

bool Rx::CRxImage::IsMoniker ( ) const
inlineinherited

Query if this image is a moniker.

A moniker holds an image data pointer but is not responsible for the memory. Thus, destroying an image moniker does not free the memory.

Returns
True if this image is a moniker, false if not.

◆ IsOfType()

bool Rx::CRxImage::IsOfType ( Interop::Runtime28::EPixelType::ID  ePixelType,
Interop::Runtime28::EDataType::ID  eDataType 
) const
inlineinherited

Test whether image is of a particular pixel and data type.

Parameters
ePixelTypeThe pixel type.
eDataTypeThe data type.
Returns
True if of type, false if not.

◆ IsValid()

virtual bool Rx::CRxImage::IsValid ( ) const
inlinevirtualinherited

Query if this image is valid.

Returns
True if valid, false if not.

Implements Rx::Interop::Runtime28::IImage.

◆ Normalize()

bool Rx::CRxImage::Normalize ( )
inherited

Find minimal and maximal value of image and normalize image to range [0,1].

Is currently only implemented for pixel type TPixel_L_f.

Returns
True if it succeeds, false if it fails.

◆ operator=()

CRayImage& Rx::LFR::CRayImage::operator= ( CRayImage &&  xRayFile)

Move assignment operator.

Parameters
xRayFile[in,out] The ray file to move. Is invalid after this call.
Returns
This instance.

◆ Set()

bool Rx::CRxImage::Set ( const void *  pvImgData)
inherited

Copies the content of the given image data into this image.

Expects that the image formats of the given data pointer and this image are identical.

Parameters
pvImgDataThe image data to copy.
Returns
True if it succeeds, false if it fails.

◆ SetID()

void Rx::CRxImage::SetID ( unsigned  uID)
inlineinherited

Sets the ID of this image. Is used to represent images captured by a camera or read from a sequence.

Parameters
uIDThe ID.

◆ SetPixel() [1/80]

void Rx::CRxImage::SetPixel ( const TPixel_Bay_BG_c xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [2/80]

void Rx::CRxImage::SetPixel ( const TPixel_Bay_BG_d xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [3/80]

void Rx::CRxImage::SetPixel ( const TPixel_Bay_BG_f xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [4/80]

void Rx::CRxImage::SetPixel ( const TPixel_Bay_BG_i xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [5/80]

void Rx::CRxImage::SetPixel ( const TPixel_Bay_BG_s xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [6/80]

void Rx::CRxImage::SetPixel ( const TPixel_Bay_BG_uc xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [7/80]

void Rx::CRxImage::SetPixel ( const TPixel_Bay_BG_ui xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [8/80]

void Rx::CRxImage::SetPixel ( const TPixel_Bay_BG_us xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [9/80]

void Rx::CRxImage::SetPixel ( const TPixel_Bay_GB_c xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [10/80]

void Rx::CRxImage::SetPixel ( const TPixel_Bay_GB_d xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [11/80]

void Rx::CRxImage::SetPixel ( const TPixel_Bay_GB_f xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [12/80]

void Rx::CRxImage::SetPixel ( const TPixel_Bay_GB_i xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [13/80]

void Rx::CRxImage::SetPixel ( const TPixel_Bay_GB_s xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [14/80]

void Rx::CRxImage::SetPixel ( const TPixel_Bay_GB_uc xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [15/80]

void Rx::CRxImage::SetPixel ( const TPixel_Bay_GB_ui xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [16/80]

void Rx::CRxImage::SetPixel ( const TPixel_Bay_GB_us xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [17/80]

void Rx::CRxImage::SetPixel ( const TPixel_Bay_GR_c xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [18/80]

void Rx::CRxImage::SetPixel ( const TPixel_Bay_GR_d xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [19/80]

void Rx::CRxImage::SetPixel ( const TPixel_Bay_GR_f xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [20/80]

void Rx::CRxImage::SetPixel ( const TPixel_Bay_GR_i xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [21/80]

void Rx::CRxImage::SetPixel ( const TPixel_Bay_GR_s xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [22/80]

void Rx::CRxImage::SetPixel ( const TPixel_Bay_GR_uc xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [23/80]

void Rx::CRxImage::SetPixel ( const TPixel_Bay_GR_ui xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [24/80]

void Rx::CRxImage::SetPixel ( const TPixel_Bay_GR_us xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [25/80]

void Rx::CRxImage::SetPixel ( const TPixel_Bay_RG_c xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [26/80]

void Rx::CRxImage::SetPixel ( const TPixel_Bay_RG_d xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [27/80]

void Rx::CRxImage::SetPixel ( const TPixel_Bay_RG_f xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [28/80]

void Rx::CRxImage::SetPixel ( const TPixel_Bay_RG_i xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [29/80]

void Rx::CRxImage::SetPixel ( const TPixel_Bay_RG_s xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [30/80]

void Rx::CRxImage::SetPixel ( const TPixel_Bay_RG_uc xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [31/80]

void Rx::CRxImage::SetPixel ( const TPixel_Bay_RG_ui xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [32/80]

void Rx::CRxImage::SetPixel ( const TPixel_Bay_RG_us xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [33/80]

void Rx::CRxImage::SetPixel ( const TPixel_BGR_c xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [34/80]

void Rx::CRxImage::SetPixel ( const TPixel_BGR_d xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [35/80]

void Rx::CRxImage::SetPixel ( const TPixel_BGR_f xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [36/80]

void Rx::CRxImage::SetPixel ( const TPixel_BGR_i xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [37/80]

void Rx::CRxImage::SetPixel ( const TPixel_BGR_s xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [38/80]

void Rx::CRxImage::SetPixel ( const TPixel_BGR_uc xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [39/80]

void Rx::CRxImage::SetPixel ( const TPixel_BGR_ui xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [40/80]

void Rx::CRxImage::SetPixel ( const TPixel_BGR_us xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [41/80]

void Rx::CRxImage::SetPixel ( const TPixel_BGRA_c xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [42/80]

void Rx::CRxImage::SetPixel ( const TPixel_BGRA_d xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [43/80]

void Rx::CRxImage::SetPixel ( const TPixel_BGRA_f xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [44/80]

void Rx::CRxImage::SetPixel ( const TPixel_BGRA_i xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [45/80]

void Rx::CRxImage::SetPixel ( const TPixel_BGRA_s xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [46/80]

void Rx::CRxImage::SetPixel ( const TPixel_BGRA_uc xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [47/80]

void Rx::CRxImage::SetPixel ( const TPixel_BGRA_ui xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [48/80]

void Rx::CRxImage::SetPixel ( const TPixel_BGRA_us xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [49/80]

void Rx::CRxImage::SetPixel ( const TPixel_L_c xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [50/80]

void Rx::CRxImage::SetPixel ( const TPixel_L_d xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [51/80]

void Rx::CRxImage::SetPixel ( const TPixel_L_f xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [52/80]

void Rx::CRxImage::SetPixel ( const TPixel_L_i xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [53/80]

void Rx::CRxImage::SetPixel ( const TPixel_L_s xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [54/80]

void Rx::CRxImage::SetPixel ( const TPixel_L_uc xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [55/80]

void Rx::CRxImage::SetPixel ( const TPixel_L_ui xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [56/80]

void Rx::CRxImage::SetPixel ( const TPixel_L_us xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [57/80]

void Rx::CRxImage::SetPixel ( const TPixel_LA_c xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [58/80]

void Rx::CRxImage::SetPixel ( const TPixel_LA_d xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [59/80]

void Rx::CRxImage::SetPixel ( const TPixel_LA_f xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [60/80]

void Rx::CRxImage::SetPixel ( const TPixel_LA_i xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [61/80]

void Rx::CRxImage::SetPixel ( const TPixel_LA_s xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [62/80]

void Rx::CRxImage::SetPixel ( const TPixel_LA_uc xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [63/80]

void Rx::CRxImage::SetPixel ( const TPixel_LA_ui xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [64/80]

void Rx::CRxImage::SetPixel ( const TPixel_LA_us xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [65/80]

void Rx::CRxImage::SetPixel ( const TPixel_RGB_c xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [66/80]

void Rx::CRxImage::SetPixel ( const TPixel_RGB_d xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [67/80]

void Rx::CRxImage::SetPixel ( const TPixel_RGB_f xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [68/80]

void Rx::CRxImage::SetPixel ( const TPixel_RGB_i xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [69/80]

void Rx::CRxImage::SetPixel ( const TPixel_RGB_s xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [70/80]

void Rx::CRxImage::SetPixel ( const TPixel_RGB_uc xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [71/80]

void Rx::CRxImage::SetPixel ( const TPixel_RGB_ui xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [72/80]

void Rx::CRxImage::SetPixel ( const TPixel_RGB_us xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [73/80]

void Rx::CRxImage::SetPixel ( const TPixel_RGBA_c xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [74/80]

void Rx::CRxImage::SetPixel ( const TPixel_RGBA_d xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [75/80]

void Rx::CRxImage::SetPixel ( const TPixel_RGBA_f xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [76/80]

void Rx::CRxImage::SetPixel ( const TPixel_RGBA_i xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [77/80]

void Rx::CRxImage::SetPixel ( const TPixel_RGBA_s xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [78/80]

void Rx::CRxImage::SetPixel ( const TPixel_RGBA_uc xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [79/80]

void Rx::CRxImage::SetPixel ( const TPixel_RGBA_ui xPix,
int  iX,
int  iY 
)
inherited

◆ SetPixel() [80/80]

void Rx::CRxImage::SetPixel ( const TPixel_RGBA_us xPix,
int  iX,
int  iY 
)
inherited

◆ SetROIDefinition()

void Rx::CRxImage::SetROIDefinition ( const CRxImageFormat::TInt4 piROIDefinition)
inlineinherited

Sets the ROI definition.

Parameters
piROIDefinitionThe ROI definition.

◆ SetTimestamp()

void Rx::CRxImage::SetTimestamp ( double  dTimestamp)
inlineinherited

Sets the timestamp of the image capture.

Parameters
dTimestampThe timestamp.

◆ SetTimestampID()

void Rx::CRxImage::SetTimestampID ( double  dTimestamp,
unsigned  uID 
)
inlineinherited

Sets the timestamp and the ID of the image.

Parameters
dTimestampThe timestamp.
uIDThe ID. Is used to represent images captured by a camera or read from a sequence.

◆ SetZero()

void Rx::CRxImage::SetZero ( )
inherited

Sets the image data to contain only zeros.

◆ Swap()

void Rx::CRxImage::Swap ( CRxImage xImage)
inherited

Swaps the data between this and the given image.

Parameters
xImage[in,out] The image to swap with.

Member Data Documentation

◆ m_bIsMoniker

bool Rx::CRxImage::m_bIsMoniker
protectedinherited

True if this image is only a moniker for an image data pointer. The memory is not freed in the destructor.

◆ m_dTimestamp

double Rx::CRxImage::m_dTimestamp
protectedinherited

The timestamp of the image capture. Is 0.0 if this image has no timestamp.

◆ m_pvData

void* Rx::CRxImage::m_pvData
protectedinherited

The actual image data.

◆ m_pxAllocator

IAllocator* Rx::CRxImage::m_pxAllocator
protectedinherited

The allocator.

◆ m_uID

unsigned Rx::CRxImage::m_uID
protectedinherited

The image ID. Is used to represent images captured by a camera or read from a sequence.

◆ m_xFormat

CRxImageFormat Rx::CRxImage::m_xFormat
protectedinherited

The format of this image.