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

CCudaCompute::SetComputationFilterMask Method

C++
void SetComputationFilterMask(const CRxImage& image)

Sets the computation filter mask image.

This image is used to reduce the number of pixels used for depth estimation.

It must have the same dimension as the raw image and a pixel type of Rx::EPixelType::Lum and a data type of Rx::EDataType::UByte. Otherwise the image is converted.

If a pixel has the value 255, it is used for depth estimation. If this pixel has another value, it is not used.

Parameters

[const CRxImage&] image

[in] The computation filter mask image.