Share via


ImageObjectExtractor.GetSoftwareBitmapObjectMask Method

Definition

Retrieves an uncompressed bitmap as a Gray8 mask used to extract artifacts from an image.

public:
 virtual SoftwareBitmap ^ GetSoftwareBitmapObjectMask(ImageObjectExtractorHint ^ hint) = GetSoftwareBitmapObjectMask;
SoftwareBitmap GetSoftwareBitmapObjectMask(ImageObjectExtractorHint const& hint);
public SoftwareBitmap GetSoftwareBitmapObjectMask(ImageObjectExtractorHint hint);
function getSoftwareBitmapObjectMask(hint)
Public Function GetSoftwareBitmapObjectMask (hint As ImageObjectExtractorHint) As SoftwareBitmap

Parameters

hint
ImageObjectExtractorHint

Helps identify the intended artifact to extract.

Returns

A SoftwareBitmap as a Gray8 mask used to extract artifacts from an image.

Remarks

SoftwareBitmap supports a fixed set of pixel formats (see BitmapPixelFormat) that are not optimized for AI Foundry on Windows. Use GetImageBufferObjectMask for pixel formats that are optimized for AI Foundry on Windows.

Applies to

See also