<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CreateMLComponents",
  "identifier" : "/documentation/CreateMLComponents/ImageBlur",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Create ML Components"
    ],
    "preciseIdentifier" : "s:18CreateMLComponents9ImageBlurV"
  },
  "title" : "ImageBlur"
}
-->

# ImageBlur

An image blurring transformer.

```
struct ImageBlur
```

## Topics

### Creating an image blur

[`init(radius: Double)`](/documentation/CreateMLComponents/ImageBlur/init(radius:))

Creates a transformer that blurs an image.

### Getting the radius

[`var radius: Double`](/documentation/CreateMLComponents/ImageBlur/radius)

The radius determines how many pixels are used to create the blur. The larger the radius, the blurrier the result.

### Applying the blur

[`func applied(to: CIImage, eventHandler: EventHandler?) -> CIImage`](/documentation/CreateMLComponents/ImageBlur/applied(to:eventHandler:))

Blurs an image using a disc-shaped convolution kernel.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Transformer`](/documentation/CreateMLComponents/Transformer)

---

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)