NAME
MPSImageNormalizedHistogramInfo - Specifies information to compute the normalized histogram for channels of an image.
SYNOPSIS
#include <MPSImageHistogram.h>
Public Attributes
NSUInteger numberOfHistogramEntries
BOOL histogramForAlpha
Detailed Description
Specifies information to compute the normalized histogram for channels of an image.
Member Data Documentation
BOOL MPSImageNormalizedHistogramInfo::histogramForAlpha
Specifies whether the histogram for the alpha channel should be computed or not.
NSUInteger MPSImageNormalizedHistogramInfo::numberOfHistogramEntries
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.
Author
Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code.