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<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
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++
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
static member ComputeDescriptors : 
        extractor : IDescriptorExtractor<'TColor, 'TDescriptor> * 
        image : Image<'TColor, byte> * 
        mask : Image<Gray, byte> * 
        keyPoints : MKeyPoint[] -> ImageFeature<'TDescriptor>[]  when 'TColor : struct, new() and IColor when 'TDescriptor : struct, new()


Type: Emgu.CV.Features2D..::..IDescriptorExtractor<(Of <(<'TColor, TDescriptor>)>)>
The descriptor extractor
Type: Emgu.CV..::..Image<(Of <(<'TColor, 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="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[])"]


[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

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

See Also