xfeatures2d_MSDDetector
import { xfeatures2d_MSDDetector } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Native object: release it with using or delete(). Factories can return null; check before calling methods. Inherits xfeatures2d_Feature2D.
Class implementing the MSD (Maximal Self-Dissimilarity) keypoint detector, described in [Tombari14].
The algorithm implements a novel interest point detector stemming from the intuition that image patches which are highly dissimilar over a relatively large extent of their surroundings hold the property of being repeatable and distinctive. This concept of "contextual self-dissimilarity" reverses the key paradigm of recent successful techniques such as the Local Self-Similarity descriptor and the Non-Local Means filter, which build upon the presence of similar - rather than dissimilar - patches. Moreover, it extends to contextual information the local self-dissimilarity notion embedded in established detectors of corner-like interest points, thereby achieving enhanced repeatability, distinctiveness and localization accuracy.
Constructors and members
static create
Create an owned xfeatures2d_MSDDetector instance with the supplied configuration.
Class implementing the MSD (Maximal Self-Dissimilarity) keypoint detector, described in [Tombari14].
create(m_patch_radius: number, m_search_area_radius: number, m_nms_radius: number, m_nms_scale_radius: number, m_th_saliency: number, m_kNN: number, m_scale_factor: number, m_n_scales: number, m_compute_orientation: boolean): xfeatures2d_MSDDetector | null;10 available overloads
create(): xfeatures2d_MSDDetector | null;create(m_patch_radius: number): xfeatures2d_MSDDetector | null;create(m_patch_radius: number, m_search_area_radius: number): xfeatures2d_MSDDetector | null;create(m_patch_radius: number, m_search_area_radius: number, m_nms_radius: number): xfeatures2d_MSDDetector | null;create(m_patch_radius: number, m_search_area_radius: number, m_nms_radius: number, m_nms_scale_radius: number): xfeatures2d_MSDDetector | null;create(m_patch_radius: number, m_search_area_radius: number, m_nms_radius: number, m_nms_scale_radius: number, m_th_saliency: number): xfeatures2d_MSDDetector | null;create(m_patch_radius: number, m_search_area_radius: number, m_nms_radius: number, m_nms_scale_radius: number, m_th_saliency: number, m_kNN: number): xfeatures2d_MSDDetector | null;create(m_patch_radius: number, m_search_area_radius: number, m_nms_radius: number, m_nms_scale_radius: number, m_th_saliency: number, m_kNN: number, m_scale_factor: number): xfeatures2d_MSDDetector | null;create(m_patch_radius: number, m_search_area_radius: number, m_nms_radius: number, m_nms_scale_radius: number, m_th_saliency: number, m_kNN: number, m_scale_factor: number, m_n_scales: number): xfeatures2d_MSDDetector | null;create(m_patch_radius: number, m_search_area_radius: number, m_nms_radius: number, m_nms_scale_radius: number, m_th_saliency: number, m_kNN: number, m_scale_factor: number, m_n_scales: number, m_compute_orientation: boolean): xfeatures2d_MSDDetector | null;m_patch_radiusm patch radius argument (number).
m_search_area_radiusm search area radius argument (number).
m_nms_radiusm nms radius argument (number).
m_nms_scale_radiusm nms scale radius argument (number).
m_th_saliencym th saliency argument (number).
m_kNNm k nn argument (number).
m_scale_factorm scale factor argument (number).
m_n_scalesm n scales argument (number).
m_compute_orientationm compute orientation argument (boolean).
The xfeatures2d_MSDDetector | null result.
clone
Create another handle to the same native object. This retains the object without copying its pixels or algorithm state; dispose both handles separately.
clone(): this;The this result.
setPatchRadius
Set the patch radius used by this xfeatures2d_MSDDetector object.
setPatchRadius(patch_radius: number): void;patch_radiuspatch radius argument (number).
getPatchRadius
Return the patch radius configured on this xfeatures2d_MSDDetector object.
getPatchRadius(): number;The number result.
setSearchAreaRadius
Set the search area radius used by this xfeatures2d_MSDDetector object.
setSearchAreaRadius(use_orientation: number): void;use_orientationuse orientation argument (number).
getSearchAreaRadius
Return the search area radius configured on this xfeatures2d_MSDDetector object.
getSearchAreaRadius(): number;The number result.
setNmsRadius
Set the nms radius used by this xfeatures2d_MSDDetector object.
setNmsRadius(nms_radius: number): void;nms_radiusnms radius argument (number).
getNmsRadius
Return the nms radius configured on this xfeatures2d_MSDDetector object.
getNmsRadius(): number;The number result.
setNmsScaleRadius
Set the nms scale radius used by this xfeatures2d_MSDDetector object.
setNmsScaleRadius(nms_scale_radius: number): void;nms_scale_radiusnms scale radius argument (number).
getNmsScaleRadius
Return the nms scale radius configured on this xfeatures2d_MSDDetector object.
getNmsScaleRadius(): number;The number result.
setThSaliency
Set the th saliency used by this xfeatures2d_MSDDetector object.
setThSaliency(th_saliency: number): void;th_saliencyth saliency argument (number).
getThSaliency
Return the th saliency configured on this xfeatures2d_MSDDetector object.
getThSaliency(): number;The number result.
setKNN
Set the knn used by this xfeatures2d_MSDDetector object.
setKNN(kNN: number): void;kNNk nn argument (number).
getKNN
Return the knn configured on this xfeatures2d_MSDDetector object.
getKNN(): number;The number result.
setScaleFactor
Set the scale factor used by this xfeatures2d_MSDDetector object.
setScaleFactor(scale_factor: number): void;scale_factorscale factor argument (number).
getScaleFactor
Return the scale factor configured on this xfeatures2d_MSDDetector object.
getScaleFactor(): number;The number result.
setNScales
Set the nscales used by this xfeatures2d_MSDDetector object.
setNScales(use_orientation: number): void;use_orientationuse orientation argument (number).
getNScales
Return the nscales configured on this xfeatures2d_MSDDetector object.
getNScales(): number;The number result.
setComputeOrientation
Set the compute orientation used by this xfeatures2d_MSDDetector object.
setComputeOrientation(compute_orientation: boolean): void;compute_orientationcompute orientation argument (boolean).
getComputeOrientation
Return the compute orientation configured on this xfeatures2d_MSDDetector object.
getComputeOrientation(): boolean;The boolean result.
getDefaultName
Return the default name configured on this xfeatures2d_MSDDetector object.
getDefaultName(): string;The string result.
These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.