Namespace: Rx – Class: CRxImage – Header: Rx.Core.Ex/RxImage.h

CRxImage::ConvertType Static Method

C++
static bool ConvertType(CRxImage& xDstImg, const CRxImage& xSrcImg, Rx::EPixelType ePixelType, Rx::EDataType eDataType)

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

Parameters

[CRxImage&] xDstImg

[in,out] The target image.

[const CRxImage&] xSrcImg

The source image.

[Rx::EPixelType] ePixelType

The target pixel type.

[Rx::EDataType] eDataType

The targer data type.

Returns

bool

False if an error occurred, otherwise true.