Class

MPSImagePyramid

A base class for creating different kinds of pyramid images.

Declaration

@interface MPSImagePyramid : MPSUnaryImageKernel

Topics

Methods

- initWithDevice:

Initializes a downwards 5-tap image pyramid with the default filter kernel and device.

- initWithDevice:centerWeight:

Initialize a downwards 5-tap image pyramid with a central weight parameter and device.

- initWithDevice:kernelWidth:kernelHeight:weights:

Initialize a downwards n-tap image pyramid with a custom filter kernel and device.

Properties

kernelWidth

The width of the filter window. Must be an odd number.

kernelHeight

The height of the filter window. Must be an odd number.

Relationships

Inherits From

See Also

Convolution Image Filters

MPSImageConvolution

A filter that convolves an image with a given kernel of odd width and height.

MPSImageMedian

A filter that applies a median filter in a square region centered around each pixel in the source image.

MPSImageBox

A filter that convolves an image with a given kernel of odd width and height.

MPSImageTent

A filter that convolves an image with a tent filter.

MPSImageGaussianBlur

A filter that convolves an image with a Gaussian blur of a given sigma in both the x and y directions.

MPSImageGaussianPyramid

A filter that convolves an image with a Gaussian pyramid.

MPSImageSobel

A filter that convolves an image with the Sobel operator.

MPSImageLaplacian

An optimized Laplacian filter, provided for ease of use.

MPSImageLaplacianPyramid

A filter that convolves an image with a Laplacian filter.

MPSImageLaplacianPyramidAdd

A filter that convolves an image with an additive Laplacian pyramid.

MPSImageLaplacianPyramidSubtract

A filter that convolves an image with a subtractive Laplacian pyramid.