http://www.emgu.com
Compute the descriptors on the image from the given keypoint locations.

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

Syntax

C#
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++
public:
[ExtensionAttribute]
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
)
F#
static member ComputeDescriptorsRaw : 
        extractor : IDescriptorExtractor<'TColor, 'TDescriptor> * 
        image : Image<'TColor, byte> * 
        mask : Image<Gray, byte> * 
        keyPoints : VectorOfKeyPoint -> Matrix<'TDescriptor>  when 'TColor : struct, new() and IColor when 'TDescriptor : struct, new()

Parameters

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

Type Parameters

TColor

[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)"]

TDescriptor

[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

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

See Also