Platforms to show: All Mac Windows Linux Cross-Platform

WinLearningModelImageFeatureDescriptorMBS class

Super class: WinLearningModelFeatureDescriptorMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
class WindowsML MBS WinFrameworks Plugin 20.5 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Describes the properties of the image the model is expecting.

Subclass of the WinLearningModelFeatureDescriptorMBS class.
This is a subclass of an abstract class. You can't create an instance, but you can get one from various plugin functions.

Alpha Modes

Constant Value Description
BitmapAlphaModeIgnore 2 The alpha value is ignored.
BitmapAlphaModePremultiplied 0 The alpha value has been premultiplied. Each color is first scaled by the alpha value.
BitmapAlphaModeStraight 1 The alpha value has not been premultiplied. The alpha channel indicates the transparency of the color.

Bitmap Formats

Constant Value Description
BitmapPixelFormatBgra8 87 The pixel format is B8G8R8A8 unsigned integer.
BitmapPixelFormatGray16 57 The pixel format is 16 bpp grayscale.
BitmapPixelFormatGray8 62 The pixel format is 8 bpp grayscale.
BitmapPixelFormatNv12 103 The pixel format is NV12.
BitmapPixelFormatP010 104 The pixel format is P010.
BitmapPixelFormatRgba16 12 The pixel format is R16B16G16A16 unsigned integer.
BitmapPixelFormatRgba8 30 The pixel format is R8G8B8A8 unsigned integer.
BitmapPixelFormatUnknown 0 The pixel format is unknown.
BitmapPixelFormatYuy2 107 The pixel format is YUY2.

Super class WinLearningModelFeatureDescriptorMBS

Kinds

Constant Value Description
KindImage 3 The feature is an image, so use WinLearningModelImageFeatureDescriptorMBS class.
KindMap 2 The feature is a map, so use WinLearningModelMapFeatureDescriptorMBS class.
KindSequence 1 The feature is a sequence, so use WinLearningModelSequenceFeatureDescriptorMBS class.
KindTensor 0 The feature is a tensor, so use WinLearningModelTensorFeatureDescriptorMBS class.

Tensor Kind

Constant Value Description
TensorKindBoolean 9 The tensor type is Boolean.
TensorKindComplex128 15 Invalid type.
TensorKindComplex64 14 Invalid type.
TensorKindDouble 11 The tensor type is 64-bit floating point.
TensorKindFloat 1 The tensor type is 32-bit floating point.
TensorKindFloat16 10 The tensor type is 16-bit floating point.
TensorKindInt16 5 The tensor type is 16-bit signed integer.
TensorKindInt32 6 The tensor type is 32-bit signed integer.
TensorKindInt64 7 The tensor type is 64-bit signed integer.
TensorKindInt8 3 The tensor type is 8-bit signed integer.
TensorKindString 8 The tensor type is String.
TensorKindUInt16 4 The tensor type is 16-bit unsigned integer.
TensorKindUInt32 12 The tensor type is 32-bit unsigned integer.
TensorKindUInt64 13 The tensor type is 64-bit unsigned integer.
TensorKindUInt8 2 The tensor type is 8-bit unsigned integer.
TensorKindUndefined 0 Invalid type.

This class has no sub classes.

Some examples using this class:


The items on this page are in the following plugins: MBS WinFrameworks Plugin.


WinLearningModelFeatureDescriptorMBS   -   WinLearningModelMapFeatureDescriptorMBS


The biggest plugin in space...