Class

MPSImageTent

A filter that convolves an image with a tent filter.

Declaration

@interface MPSImageTent : MPSImageBox

Overview

The kernel elements of the filter form a tent shape with increasing sides, for example:

Like a box filter, this arrangement allows for much faster algorithms, especially for larger blur radii but with a more pleasing appearance.

The tent blur is a separable filter and the Metal Performance Shaders framework will act accordingly to give the best performance for multi-dimensional blurs.

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.

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.

MPSImagePyramid

A base class for creating different kinds of pyramid images.