Calculates histograms for each channel of an ARGB8888 image.
- iOS 5.0+
- macOS 10.3+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
A pointer to a vImage buffer structure that contains the source image.
A pointer to an array of four histograms, one each for alpha, red, green, and blue (in that order). On return, this array will contain the four histograms for the corresponding channels. Each of the four histograms will be an array with 256 elements.
The options to use. Set the
kvflag if you plan to perform your own tiling or use multithreading.
Image Do Not Tile
The function calculates the histogram for each channel completely separately from the others. However, size and range values are the same for each of the four histograms.