AVSemanticSegmentationMatte
An object that wraps a matting image for a particular semantic segmentation.
Declaration
class AVSemanticSegmentationMatteOverview
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
init(fromImageSourceAuxiliaryDataType:dictionaryRepresentation:)replacingSemanticSegmentationMatte(with:)applyingExifOrientation(_:)dictionaryRepresentation(forAuxiliaryDataType:)