Namespace: Rx::LFR – Class: CCudaCompute – Header: Rx.LFR/CudaCompute.h
CCudaCompute::Compute_Histogram Method
C++
void Compute_Histogram(EImage imageId, CRxArrayUInt& histogram, unsigned& channels)
Calculates the histogram of the image with the given image ID and stores the histogram data in the given array. This array must be large enough to hold 4 * 256 numbers. The number of calculated channels is returned in uChannels.
Parameters
[EImage] imageId |
[in] The image ID. |
[CRxArrayUInt&] histogram |
[out] The histogram. |
[unsigned&] channels |
[out] The number of channels. |