Class

MPSImageAreaMax

A filter that finds the maximum pixel value in a rectangular region centered around each pixel in the source image.

Declaration

@interface MPSImageAreaMax : MPSUnaryImageKernel

Overview

If there are multiple channels in the source image, each channel is processed independently. The edgeMode property value is assumed to always be MPSImageEdgeModeClamp for this filter.

Topics

Methods

- initWithDevice:kernelWidth:kernelHeight:

Initializes the kernel with a specified width and height.

Properties

kernelHeight

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

kernelWidth

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

Relationships

Inherits From

See Also

Morphological Image Filters

MPSImageDilate

A filter that finds the maximum pixel value in a rectangular region centered around each pixel in the source image.

MPSImageAreaMin

A filter that finds the minimum pixel value in a rectangular region centered around each pixel in the source image.

MPSImageErode

A filter that finds the minimum pixel value in a rectangular region centered around each pixel in the source image.