http://www.emgu.com
Compute the descriptor given the image and the point location

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

Syntax

C#
public static ImageFeature<TDescriptor>[] ComputeDescriptors<TColor, TDescriptor>(
	this IDescriptorExtractor<TColor, TDescriptor> extractor,
	Image<TColor, byte> image,
	Image<Gray, byte> mask,
	MKeyPoint[] keyPoints
)
where TColor : struct, new(), IColor
where TDescriptor : struct, new()
Visual Basic
<ExtensionAttribute> _
Public Shared Function ComputeDescriptors(Of TColor As {Structure, New, IColor}, TDescriptor As {Structure, New}) ( _
	extractor As IDescriptorExtractor(Of TColor, TDescriptor), _
	image As Image(Of TColor, Byte), _
	mask As Image(Of Gray, Byte), _
	keyPoints As MKeyPoint() _
) As ImageFeature(Of TDescriptor)()
Visual C++
[ExtensionAttribute]
public:
generic<typename TColor, typename TDescriptor>
where TColor : value class, gcnew(), IColor
where TDescriptor : value class, gcnew()
static array<ImageFeature<TDescriptor>>^ ComputeDescriptors(
	IDescriptorExtractor<TColor, TDescriptor>^ extractor, 
	Image<TColor, unsigned char>^ image, 
	Image<Gray, unsigned char>^ mask, 
	array<MKeyPoint>^ keyPoints
)

Parameters

extractor
Type: Emgu.CV.Features2D..::..IDescriptorExtractor<(Of <(<'TColor, TDescriptor>)>)>
The descriptor extractor
image
Type: Emgu.CV..::..Image<(Of <(<'TColor, Byte>)>)>
The image where the descriptor will be computed from
mask
Type: Emgu.CV..::..Image<(Of <(<'Gray, Byte>)>)>
The optional mask, can be null if not needed
keyPoints
Type: array<Emgu.CV.Structure..::..MKeyPoint>[]()[][]
The keypoint where the descriptor will be computed from

Type Parameters

TColor

[Missing <typeparam name="TColor"/> documentation for "M:Emgu.CV.Features2D.Features2DExtensions.ComputeDescriptors``2(Emgu.CV.Features2D.IDescriptorExtractor{``0,``1},Emgu.CV.Image{``0,System.Byte},Emgu.CV.Image{Emgu.CV.Structure.Gray,System.Byte},Emgu.CV.Structure.MKeyPoint[])"]

TDescriptor

[Missing <typeparam name="TDescriptor"/> documentation for "M:Emgu.CV.Features2D.Features2DExtensions.ComputeDescriptors``2(Emgu.CV.Features2D.IDescriptorExtractor{``0,``1},Emgu.CV.Image{``0,System.Byte},Emgu.CV.Image{Emgu.CV.Structure.Gray,System.Byte},Emgu.CV.Structure.MKeyPoint[])"]

Return Value

The descriptors founded on the keypoint location

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