<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreImage",
  "identifier" : "/documentation/CoreImage/CIMorphologyRectangleMaximum",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Core Image"
    ],
    "preciseIdentifier" : "c:objc(pl)CIMorphologyRectangleMaximum"
  },
  "title" : "CIMorphologyRectangleMaximum"
}
-->

# CIMorphologyRectangleMaximum

The properties you use to configure a morphology rectangle maximum filter.

```
protocol CIMorphologyRectangleMaximum : CIFilterProtocol
```

## Topics

### Instance Properties

[`height`](/documentation/CoreImage/CIMorphologyRectangleMaximum/height)

The height, in pixels, of the morphological structuring element.

[`inputImage`](/documentation/CoreImage/CIMorphologyRectangleMaximum/inputImage)

The image to use as an input image.

[`width`](/documentation/CoreImage/CIMorphologyRectangleMaximum/width)

The width, in pixels, of the morphological structuring element.

## See Also

[`morphologyRectangleMaximum()`](/documentation/CoreImage/CIFilter-swift.class/morphologyRectangleMaximum())

Blurs a rectangular area by enlarging contrasting pixels.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)