<!--
{
  "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/RandomImageNoiseGenerator",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Create ML Components"
    ],
    "preciseIdentifier" : "s:18CreateMLComponents25RandomImageNoiseGeneratorV"
  },
  "title" : "RandomImageNoiseGenerator"
}
-->

# RandomImageNoiseGenerator

A transformer that adds random noise to an image.

```
struct RandomImageNoiseGenerator
```

## Topics

### Creating a noise generator

[`init(intensity: Double)`](/documentation/CreateMLComponents/RandomImageNoiseGenerator/init(intensity:))

Creates transformer that generates random noise to apply to an image.

### Getting the intensity

[`var intensity: Double`](/documentation/CreateMLComponents/RandomImageNoiseGenerator/intensity)

The intensity of the random noise to add to the image.

### Performing the transformation

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

Adds random noise to the input image.

## Relationships

### Conforms To

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

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

[`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)