Show / Hide Table of Contents

Class SIFT

SIFT implementation.

Inheritance
System.Object
DisposableObject
DisposableCvObject
Algorithm
Feature2D
SIFT
Implements
ICvPtrHolder
Inherited Members
Feature2D.DescriptorSize
Feature2D.DescriptorType
Feature2D.DefaultNorm
Feature2D.Empty()
Feature2D.Detect(Mat, Mat)
Feature2D.Detect(InputArray, Mat)
Feature2D.Detect(IEnumerable<Mat>, Nullable<IEnumerable<Mat>>)
Feature2D.Compute(InputArray, KeyPoint[], OutputArray)
Feature2D.Compute(IEnumerable<Mat>, KeyPoint[][], IEnumerable<Mat>)
Feature2D.DetectAndCompute(InputArray, InputArray, KeyPoint[], OutputArray, Boolean)
Feature2D.Write(String)
Feature2D.Read(String)
Feature2D.GetDefaultName()
Algorithm.Write(FileStorage)
Algorithm.Read(FileNode)
Algorithm.Save(String)
DisposableCvObject.ptr
DisposableCvObject.CvPtr
DisposableObject.DataHandle
DisposableObject.IsDisposed
DisposableObject.IsEnabledDispose
DisposableObject.AllocatedMemory
DisposableObject.AllocatedMemorySize
DisposableObject.Dispose()
DisposableObject.Dispose(Boolean)
DisposableObject.AllocGCHandle(Object)
DisposableObject.AllocMemory(Int32)
DisposableObject.NotifyMemoryPressure(Int64)
DisposableObject.ThrowIfDisposed()
Namespace: OpenCvSharp.Features2D
Assembly: OpenCvSharp.dll
Syntax
public class SIFT : Feature2D, ICvPtrHolder

Constructors

| Improve this Doc View Source

SIFT(IntPtr)

Creates instance by raw pointer cv::SIFT*

Declaration
protected SIFT(IntPtr p)
Parameters
Type Name Description
IntPtr p

Methods

| Improve this Doc View Source

Create(Int32, Int32, Double, Double, Double)

The SIFT constructor.

Declaration
public static SIFT Create(int nFeatures = 0, int nOctaveLayers = 3, double contrastThreshold = 0.04, double edgeThreshold = 10, double sigma = 1.6)
Parameters
Type Name Description
System.Int32 nFeatures

The number of best features to retain. The features are ranked by their scores (measured in SIFT algorithm as the local contrast)

System.Int32 nOctaveLayers

The number of layers in each octave. 3 is the value used in D. Lowe paper. The number of octaves is computed automatically from the image resolution.

System.Double contrastThreshold

The contrast threshold used to filter out weak features in semi-uniform (low-contrast) regions. The larger the threshold, the less features are produced by the detector.

System.Double edgeThreshold

The threshold used to filter out edge-like features. Note that the its meaning is different from the contrastThreshold, i.e. the larger the edgeThreshold, the less features are filtered out (more features are retained).

System.Double sigma

The sigma of the Gaussian applied to the input image at the octave #0. If your image is captured with a weak camera with soft lenses, you might want to reduce the number.

Returns
Type Description
SIFT
| Improve this Doc View Source

DisposeManaged()

Releases managed resources

Declaration
protected override void DisposeManaged()
Overrides
DisposableObject.DisposeManaged()
| Improve this Doc View Source

DisposeUnmanaged()

Declaration
protected override void DisposeUnmanaged()
Overrides
DisposableCvObject.DisposeUnmanaged()
| Improve this Doc View Source

Get()

Declaration
public override IntPtr Get()
Returns
Type Description
IntPtr

Implements

ICvPtrHolder
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX