MPSImageNormalizedHistogramInfo(3) MetalPerformanceShaders.framework MPSImageNormalizedHistogramInfo(3)

MPSImageNormalizedHistogramInfo - Specifies information to compute the normalized histogram for channels of an image.

#include <MPSImageHistogram.h>


NSUInteger numberOfHistogramEntries
BOOL histogramForAlpha

Specifies information to compute the normalized histogram for channels of an image.

Specifies whether the histogram for the alpha channel should be computed or not.

Specifies the number of histogram entries, or 'bins' for each channel. For example, if you want 256 histogram bins then numberOfHistogramEntries must be set to 256. The value stored in each histogram bin is a 32-bit unsigned integer. The size of the histogram buffer in which these bins will be stored should be >= numberOfHistogramEntries * sizeof(uint32_t) * number of channels in the image. numberOfHistogramEntries must be a power of 2 and is a minimum of 256 bins.

Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code.

Mon Jul 9 2018 Version MetalPerformanceShaders-119.3