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
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
static member GetDescriptorSize : 
        extractor : IDescriptorExtractor<'TColor, 'TDescriptor> -> int  when 'TColor : struct, new() and IColor when 'TDescriptor : struct, new()


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

Type: Int32
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 Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also