CRayImage::ConvertType Method
C++
bool ConvertType(CRxImage& xImage, Rx::EPixelType ePixelType, Rx::EDataType eDataType)
Convert this image to a different type and store result in xImage.
Parameters
[CRxImage&] xImage |
[in,out] The image instance into which to write the result. The size of this image is adapted to this size. |
[Rx::EPixelType] ePixelType |
The target pixel type. |
[Rx::EDataType] eDataType |
The target data type. |
Returns
bool |
False if an error occurred, otherwise true. |