Compute the descriptor given the image and the point location

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


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


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

Type Parameters


[Missing <typeparam name="TDepth"/> documentation for "M:Emgu.CV.Features2D.Features2DExtensions.ComputeDescriptors``1(Emgu.CV.Features2D.IDescriptorExtractor{``0},Emgu.CV.Image{Emgu.CV.Structure.Gray,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 <(<'TDepth>)>)>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also