Compute the descriptors on the image from the given keypoint locations.

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


public static Matrix<TDescriptor> ComputeDescriptorsRaw<TColor, TDescriptor>(
	this IDescriptorExtractor<TColor, TDescriptor> extractor,
	Image<TColor, byte> image,
	Image<Gray, byte> mask,
	VectorOfKeyPoint keyPoints
where TColor : struct, new(), IColor
where TDescriptor : struct, new()
Visual Basic
<ExtensionAttribute> _
Public Shared Function ComputeDescriptorsRaw(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 VectorOfKeyPoint _
) As Matrix(Of TDescriptor)
Visual C++
generic<typename TColor, typename TDescriptor>
where TColor : value class, gcnew(), IColor
where TDescriptor : value class, gcnew()
static Matrix<TDescriptor>^ ComputeDescriptorsRaw(
	IDescriptorExtractor<TColor, TDescriptor>^ extractor, 
	Image<TColor, unsigned char>^ image, 
	Image<Gray, unsigned char>^ mask, 
	VectorOfKeyPoint^ keyPoints


Type: Emgu.CV.Features2D..::..IDescriptorExtractor<(Of <(<'TColor, TDescriptor>)>)>
The descriptor extractor
Type: Emgu.CV..::..Image<(Of <(<'TColor, Byte>)>)>
The image to compute descriptors from
Type: Emgu.CV..::..Image<(Of <(<'Gray, Byte>)>)>
The optional mask, can be null if not needed
Type: Emgu.CV.Util..::..VectorOfKeyPoint
The keypoints where the descriptor computation is perfromed

Type Parameters


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


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

Return Value

The descriptors from the given keypoints

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