http://www.emgu.com
Get the number of elements in the descriptor.

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

Syntax

C#
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++
public:
[ExtensionAttribute]
generic<typename TColor, typename TDescriptor>
where TColor : value class, gcnew(), IColor
where TDescriptor : value class, gcnew()
static int GetDescriptorSize(
	IDescriptorExtractor<TColor, TDescriptor>^ extractor
)
F#
static member GetDescriptorSize : 
        extractor : IDescriptorExtractor<'TColor, 'TDescriptor> -> int  when 'TColor : struct, new() and IColor when 'TDescriptor : struct, new()

Parameters

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

Type Parameters

TColor
The type of image the descriptor extractor operates on
TDescriptor
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