Namespace: Rx::LFR – Class: CCudaCompute – Header: Rx.LFR/CudaCompute.h

CCudaCompute::ResizeImage Method

C++
void ResizeImage(CRxImage& targetImage, const CRxImage& sourceImage, int divisor)

Resize the given source image and store the result in the given target image using the given divisor.

Parameters

[CRxImage&] targetImage

[in] The target image. This must not be a moniker. It's created inside.

[const CRxImage&] sourceImage

[in] The source image.

[int] divisor

[in] The divisor. A value of 2 means that the target image is half the source size.