---
title: MPSImageNormalizedHistogram
framework: metalperformanceshaders
role: symbol
role_heading: Class
path: metalperformanceshaders/mpsimagenormalizedhistogram
---

# MPSImageNormalizedHistogram

A filter that computes the normalized histogram of an image.

## Declaration

```swift
class MPSImageNormalizedHistogram
```

## Topics

### Initializers

- [init(coder:device:)](metalperformanceshaders/mpsimagenormalizedhistogram/init(coder:device:).md)
- [init(device:histogramInfo:)](metalperformanceshaders/mpsimagenormalizedhistogram/init(device:histograminfo:).md)

### Instance Properties

- [clipRectSource](metalperformanceshaders/mpsimagenormalizedhistogram/cliprectsource.md)
- [histogramInfo](metalperformanceshaders/mpsimagenormalizedhistogram/histograminfo.md)
- [zeroHistogram](metalperformanceshaders/mpsimagenormalizedhistogram/zerohistogram.md)

### Instance Methods

- [encode(to:sourceTexture:minmaxTexture:histogram:histogramOffset:)](metalperformanceshaders/mpsimagenormalizedhistogram/encode(to:sourcetexture:minmaxtexture:histogram:histogramoffset:).md)
- [histogramSize(forSourceFormat:)](metalperformanceshaders/mpsimagenormalizedhistogram/histogramsize(forsourceformat:).md)

## Relationships

### Inherits From

- [MPSKernel](metalperformanceshaders/mpskernel.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)
