Contents

AVSemanticSegmentationMatte

An object that wraps a matting image for a particular semantic segmentation.

Declaration

class AVSemanticSegmentationMatte

Overview

The matting image stores its pixel data as CVPixelBuffer objects in kCVPixelFormatType_OneComponent8 format. The image file contains the semantic segmentation matte as an auxiliary image, accessible using the ImageIO framework’s CGImageSourceCopyAuxiliaryDataInfoAtIndex(_:_:_:) function.

Topics

Creating a segmentation matte

Inspecting a segmentation matte

See Also

Matte data