.TH "MPSImageGaussianPyramid" 3 "Mon Jul 9 2018" "Version MetalPerformanceShaders-119.3" "MetalPerformanceShaders.framework" \" -*- nroff -*- .ad l .nh .SH NAME MPSImageGaussianPyramid .SH SYNOPSIS .br .PP .PP \fC#import \fP .PP Inherits \fBMPSImagePyramid\fP\&. .SS "Additional Inherited Members" .SH "Detailed Description" .PP The Gaussian image pyramid is constructed as follows: First the zeroth level mipmap of the input image is filtered with the specified convolution kernel\&. The default the convolution filter kernel is .PP .nf k = w w^T, where w = [ 1/16, 1/4, 3/8, 1/4, 1/16 ]^T, .fi .PP but the user may also tweak this kernel with a \fBcenterWeight\fP parameter: 'a': .PP .nf k = w w^T, where w = [ (1/4 - a/2), 1/4, a, 1/4, (1/4 - a/2) ]^T .fi .PP or the user can provide a completely custom kernel\&. After this the image is downsampled by removing all odd rows and columns, which defines the next level in the Gaussian image pyramid\&. This procedure is continued until every mipmap level present in the image texture are filled with the pyramid levels\&. .PP In case of the Gaussian pyramid the user must run the operation in-place using: \fBinPlaceTexture:fallbackCopyAllocator:\fP, where the fallback allocator is ignored\&. .SH "Author" .PP Generated automatically by Doxygen for MetalPerformanceShaders\&.framework from the source code\&.