Namespace: Rx::LFR – Class: CCudaCompute – Header: Rx.LFR/CudaCompute.h
CCudaCompute::Compute_ImageMinMax Method
C++
void Compute_ImageMinMax(EImage imageId, unsigned channel, float& min, float& max)
Calculates the minimum and the maximum value in the given image.
Parameters
[EImage] imageId |
[in] The image ID. The image must be of type float. |
[unsigned] channel |
[in] The channel of each pixel that is used to get the values. |
[float&] min |
[out] The minimum. |
[float&] max |
[out] The maximum. |