---
title: mattingImage
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avsemanticsegmentationmatte/mattingimage
---

# mattingImage

The semantic segmentation matte’s internal image.

## Declaration

```swift
var mattingImage: CVPixelBuffer { get }
```

## Discussion

Discussion You can determine the pixel buffer’s format type using the pixelFormatType property.

## See Also

### Inspecting a segmentation matte

- [matteType](avfoundation/avsemanticsegmentationmatte/mattetype-swift.property.md)
- [AVSemanticSegmentationMatte.MatteType](avfoundation/avsemanticsegmentationmatte/mattetype-swift.struct.md)
- [pixelFormatType](avfoundation/avsemanticsegmentationmatte/pixelformattype.md)
