MPSImageGaussianPyramid(3)
NAME
MPSImageGaussianPyramid
SYNOPSIS
#import <MPSImageConvolution.h> Inherits MPSImagePyramid. Additional Inherited Members
Detailed Description
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 k = w w^T, where w = [ 1/16, 1/4, 3/8, 1/4, 1/16 ]^T, but the user may also tweak this kernel with a centerWeight parameter: 'a': k = w w^T, where w = [ (1/4 - a/2), 1/4, a, 1/4, (1/4 - a/2) ]^T 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. In case of the Gaussian pyramid the user must run the operation in- place using: inPlaceTexture:fallbackCopyAllocator:, where the fallback allocator is ignored.
Author
Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code. Version MetalPerformanceShaders-Thu2Jul 13 2017 MPSImageGaussianPyramid(3)
Mac OS X 10.13.1 - Generated Tue Nov 7 07:18:16 CST 2017