CRayImage Class
#include "Rx.LFR/RayImage.h"
class CRayImage : public CRxImage
Extends the default CRxImage class by a set of meta data and a calibration.
Constructors
CRayImage() | Default constructor. Does not allocate image memory. |
CRayImage(xRayFile) | Move constructor. |
Destructor
~CRayImage() | Destructor. Frees all used memory. |
Methods
GetMetaData() | Gets the meta data. |
GetMetaData() | Gets the meta data. |
GetCalibration() | Gets the calibration. |
GetCalibration() | Gets the calibration. |
Set(pvImgData) | Copies the content of the given image data into this image. (Inherited from CRxImage) |
SetZero() | Sets the image data to contain only zeros. (Inherited from CRxImage) |
CreateMoniker(xFormat, pvImgData, dTimestamp, uID) | Creates an image of the given format. This copies only the image data pointer. Does not allocate memory. (Inherited from CRxImage) |
Create(xFormat) | Creates an image of the given format. Only (re)allocates memory if required. (Inherited from CRxImage) |
Create(xFormat, pvImgData) | Creates an image of the given format. Only (re)allocates memory if required. Copies the image data into this image. (Inherited from CRxImage) |
Create(xImage) | Creates a copy of the given image. Only (re)allocates memory if required. (Inherited from CRxImage) |
Create(xImage) | Creates this image by moving the data of the given image into this image. (Inherited from CRxImage) |
Create(iWidth, iHeight, ePixelType, eDataType) | Creates an image of given type and size and reserve the appropriate amount of memory. (Inherited from CRxImage) |
Create(iWidth, iHeight, ePixelType, eDataType, pvData) | Creates an image of given type and size and copies the data from the given pointer. (Inherited from CRxImage) |
Destroy() | Destroys this image if one has been created. Resets all internal variables. (Inherited from CRxImage) |
IsValid() | Query if this image is valid. (Inherited from CRxImage) |
IsMoniker() | Query if this image is a moniker. (Inherited from CRxImage) |
GetBytesPerPixel() | Get number of bytes per pixel. (Inherited from CRxImage) |
GetPixelCount() | Gets the number of pixels. (Inherited from CRxImage) |
GetByteCount() | Gets the number of bytes of the whole image. (Inherited from CRxImage) |
GetSize(iWidth, iHeight) | Gets the size of the image. (Inherited from CRxImage) |
GetType(ePixelType, eDataType) | Gets the type of the image. (Inherited from CRxImage) |
GetDataPtr() | Return the pointer to the data array. (Inherited from CRxImage) |
GetDataPtr() | Return the constant pointer to the data array. (Inherited from CRxImage) |
GetFormat() | Returns the format that describes this image. (Inherited from CRxImage) |
GetID() | Gets the ID of this image. Is used to represent images captured by a camera or read from a sequence. (Inherited from CRxImage) |
SetID(uID) | Sets the ID of this image. Is used to represent images captured by a camera or read from a sequence. (Inherited from CRxImage) |
GetTimestamp() | Gets the timestamp of the image capture. Is 0.0 if this image has no timestamp. (Inherited from CRxImage) |
SetTimestamp(dTimestamp) | Sets the timestamp of the image capture. (Inherited from CRxImage) |
SetTimestampID(dTimestamp, uID) | Sets the timestamp and the ID of the image. (Inherited from CRxImage) |
ConvertType(xImage, ePixelType, eDataType) | Convert this image to a different type and store result in xImage. (Inherited from CRxImage) |
ConvertCustomType(xTrgImg) | Converts this image from a custom data type into the corresponding primitive data type. (Inherited from CRxImage) |
IsOfType(ePixelType, eDataType) | Test whether image is of a particular pixel and data type. (Inherited from CRxImage) |
Normalize() | Find minimal and maximal value of image and normalize image to range [0,1]. (Inherited from CRxImage) |
Swap(xImage) | Swaps the data between this and the given image. (Inherited from CRxImage) |
GetPixel(iX, iY) | Gets the value of the pixel at location (iX, iY). (Inherited from CRxImage) |
GetPixel(tPixel, iX, iY) | Gets the value of the pixel at location (iX, iY). (Inherited from CRxImage) |
SetPixel(tPixel, iX, iY) | Sets the value of the pixel at location (iX, iY). (Inherited from CRxImage) |
SetROIDefinition(piROIDefinition) | Sets the ROI definition. (Inherited from CRxImage) |
Static Methods
ConvertType(xDstImg, xSrcImg, ePixelType, eDataType) | Convert the pSrcImage to a different type and store result in pDstImage. (Inherited from CRxImage) |
ConvertMemory(pTrgMem, pSrcMem, xTrgFormat, xSrcFormat) | Convert the pSrcMem memory to a different type and store result in memory pTrgMem. (Inherited from CRxImage) |
Operators
operator=(xRayFile) | Move assignment operator. |