ImageObjectExtractor.GetSoftwareBitmapObjectMask Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.