MPSImageAreaMax
A filter that finds the maximum pixel value in a rectangular region centered around each pixel in the source image.
Declaration
class MPSImageAreaMaxOverview
If there are multiple channels in the source image, each channel is processed independently. The edgeMode property value is assumed to always be MPSImageEdgeMode.clamp for this filter.