Instance Property

mattingImage

The semantic segmentation matte’s internal image.

Declaration

@property(readonly) CVPixelBufferRef mattingImage;

Discussion

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

See Also

Inspecting a Segmentation Matte

matteType

The semantic segmentation matte image type.

AVSemanticSegmentationMatteType

String constants defining the types of segmentation matte images that you can capture along with the primary image.

pixelFormatType

The pixel format type for this object’s internal matting image.