SIFT class

SIFT is a wrapper around the cv::SIFT.

Inheritance
Available extensions

Constructors

SIFT.create({int nfeatures = 0, int nOctaveLayers = 3, double contrastThreshold = 0.04, double edgeThreshold = 10, double sigma = 1.6, int? descriptorType, bool enable_precise_upscale = false})
Create SIFT with specified descriptorType.
factory
SIFT.empty()
returns a new SIFT algorithm
factory
SIFT.fromPointer(SIFTPtr ptr, [bool attach = true])
factory

Properties

contrastThreshold ↔ double
getter/setter pair
defaultName → String
no setteroverride
edgeThreshold ↔ double
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
isDisposed → bool
Whether this object has been disposed.
no setterinherited
isEmpty → bool
no setteroverride
NFeatures ↔ int
getter/setter pair
nOctaveLayers ↔ int
getter/setter pair
props → List<Object?>
no setterinherited
ptr ↔ Pointer<SIFT>
getter/setter pairinherited
ref → SIFT
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sigma ↔ double
getter/setter pair

Methods

detect(Mat src, {VecKeyPoint? keypoints, Mat? mask}) → VecKeyPoint
Detect keypoints in an image using SIFT.
override
detectAndCompute(Mat src, Mat mask, {Mat? descriptors, VecKeyPoint? keypoints, bool useProvidedKeypoints = false}) → (VecKeyPoint, Mat)
DetectAndCompute keypoints and compute in an image using SIFT.
override
detectAndComputeAsync(Mat src, Mat mask, {Mat? descriptors, VecKeyPoint? keypoints, bool useProvidedKeypoints = false}) → Future<(VecKeyPoint, Mat)>

Available on SIFT, provided by the SIFTAsync extension

DetectAndCompute keypoints and compute in an image using SIFT.
detectAsync(Mat src, {VecKeyPoint? keypoints, Mat? mask}) → Future<VecKeyPoint>

Available on SIFT, provided by the SIFTAsync extension

Detect keypoints in an image using SIFT.
dispose() → void
Releases the underlying native resources. Idempotent: calling it more than once is safe, but the object must not be used after dispose.
inherited
freeNative() → void
Frees the native resources owned by this object. Subclasses implement the concrete free logic here; callers must use dispose instead.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

finalizer → NativeFinalizer
final