.TH "MPSImageHistogramInfo" 3 "Mon Jul 9 2018" "Version MetalPerformanceShaders-119.3" "MetalPerformanceShaders.framework" \" -*- nroff -*- .ad l .nh .SH NAME MPSImageHistogramInfo \- Specifies information to compute the histogram for channels of an image\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Public Attributes" .in +1c .ti -1c .RI "NSUInteger \fBnumberOfHistogramEntries\fP" .br .ti -1c .RI "BOOL \fBhistogramForAlpha\fP" .br .ti -1c .RI "vector_float4 \fBminPixelValue\fP" .br .ti -1c .RI "vector_float4 \fBmaxPixelValue\fP" .br .in -1c .SH "Detailed Description" .PP Specifies information to compute the histogram for channels of an image\&. \fBMPSImageHistogram\&.h\fP MetalPerformanceShaders\&.framework .PP \fBCopyright:\fP .RS 4 Copyright (c) 2015 Apple Inc\&. All rights reserved\&. MetalPerformanceShaders histogram filters .RE .PP .SH "Member Data Documentation" .PP .SS "BOOL MPSImageHistogramInfo::histogramForAlpha" Specifies whether the histogram for the alpha channel should be computed or not\&. .SS "vector_float4 MPSImageHistogramInfo::maxPixelValue" Specifies the maximum pixel value\&. Any pixel value greater than this will be clipped to this value (for the purposes of histogram calculation), and assigned to the last histogram entry\&. This maximum value is applied to each of the four channels separately\&. .SS "vector_float4 MPSImageHistogramInfo::minPixelValue" Specifies the minimum pixel value\&. Any pixel value less than this will be clipped to this value (for the purposes of histogram calculation), and assigned to the first histogram entry\&. This minimum value is applied to each of the four channels separately\&. .SS "NSUInteger MPSImageHistogramInfo::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\&. .SH "Author" .PP Generated automatically by Doxygen for MetalPerformanceShaders\&.framework from the source code\&.