.TH "MPSImageIntegralOfSquares" 3 "Mon Jul 9 2018" "Version MetalPerformanceShaders-119.3" "MetalPerformanceShaders.framework" \" -*- nroff -*- .ad l .nh .SH NAME MPSImageIntegralOfSquares .SH SYNOPSIS .br .PP .PP \fC#import \fP .PP Inherits \fBMPSUnaryImageKernel\fP\&. .SS "Additional Inherited Members" .SH "Detailed Description" .PP The \fBMPSImageIntegralOfSquares\fP calculates the sum of squared pixels over a specified region in the image\&. The value at each position is the sum of all squared pixels in a source image rectangle, sumRect: .PP .nf sumRect.origin = MPSUnaryImageKernel.offset sumRect.size = dest_position - MPSUnaryImageKernel.clipRect.origin .fi .PP .PP If the channels in the source image are normalized, half-float or floating values, the destination image is recommended to be a 32-bit floating-point image\&. If the channels in the source image are integer values, it is recommended that an appropriate 32-bit integer image destination format is used\&. .PP This kernel accepts uint and int textures in addition to unorm and floating-point textures\&. .SH "Author" .PP Generated automatically by Doxygen for MetalPerformanceShaders\&.framework from the source code\&.