Get the number of elements in the descriptor.

Namespace: Emgu.CV.Features2D
Assembly: Emgu.CV (in Emgu.CV.dll) Version: (


public static int GetDescriptorSize<TColor, TDescriptor>(
	this IDescriptorExtractor<TColor, TDescriptor> extractor
where TColor : struct, new(), IColor
where TDescriptor : struct, new()
Visual Basic
<ExtensionAttribute> _
Public Shared Function GetDescriptorSize(Of TColor As {Structure, New, IColor}, TDescriptor As {Structure, New}) ( _
	extractor As IDescriptorExtractor(Of TColor, TDescriptor) _
) As Integer
Visual C++
generic<typename TColor, typename TDescriptor>
where TColor : value class, gcnew(), IColor
where TDescriptor : value class, gcnew()
static int GetDescriptorSize(
	IDescriptorExtractor<TColor, TDescriptor>^ extractor


Type: Emgu.CV.Features2D..::..IDescriptorExtractor<(Of <(<'TColor, TDescriptor>)>)>
The descriptor extractor

Type Parameters

The type of image the descriptor extractor operates on
The depth of the type of descriptor

Return Value

The number of elements in the descriptor

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDescriptorExtractor<(Of <(<'TColor, TDescriptor>)>)>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also