@Namespace(value="cv::xfeatures2d") @Properties(inherit=opencv_xfeatures2d.class) public class MSDDetector extends Feature2D
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.
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
MSDDetector(Algorithm pointer)
Downcast constructor.
|
MSDDetector(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
static MSDDetector |
create() |
static MSDDetector |
create(int m_patch_radius,
int m_search_area_radius,
int m_nms_radius,
int m_nms_scale_radius,
float m_th_saliency,
int m_kNN,
float m_scale_factor,
int m_n_scales,
boolean m_compute_orientation) |
boolean |
getComputeOrientation() |
BytePointer |
getDefaultName()
Returns the algorithm string identifier.
|
int |
getKNN() |
int |
getNmsRadius() |
int |
getNmsScaleRadius() |
int |
getNScales() |
int |
getPatchRadius() |
float |
getScaleFactor() |
int |
getSearchAreaRadius() |
float |
getThSaliency() |
void |
setComputeOrientation(boolean compute_orientation) |
void |
setKNN(int kNN) |
void |
setNmsRadius(int nms_radius) |
void |
setNmsScaleRadius(int nms_scale_radius) |
void |
setNScales(int use_orientation) |
void |
setPatchRadius(int patch_radius) |
void |
setScaleFactor(float scale_factor) |
void |
setSearchAreaRadius(int use_orientation) |
void |
setThSaliency(float th_saliency) |
asAlgorithm, asAlgorithm, compute, compute, compute, compute, compute, compute, defaultNorm, descriptorSize, descriptorType, detect, detect, detect, detect, detect, detect, detect, detect, detect, detect, detect, detect, detectAndCompute, detectAndCompute, detectAndCompute, detectAndCompute, detectAndCompute, detectAndCompute, empty, getPointer, position, read, read, read, write, write, write, write, write
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public MSDDetector(Pointer p)
Pointer(Pointer)
.public MSDDetector(Algorithm pointer)
@opencv_core.Ptr public static MSDDetector create(int m_patch_radius, int m_search_area_radius, int m_nms_radius, int m_nms_scale_radius, float m_th_saliency, int m_kNN, float m_scale_factor, int m_n_scales, @Cast(value="bool") boolean m_compute_orientation)
@opencv_core.Ptr public static MSDDetector create()
public void setPatchRadius(int patch_radius)
public int getPatchRadius()
public void setSearchAreaRadius(int use_orientation)
public int getSearchAreaRadius()
public void setNmsRadius(int nms_radius)
public int getNmsRadius()
public void setNmsScaleRadius(int nms_scale_radius)
public int getNmsScaleRadius()
public void setThSaliency(float th_saliency)
public float getThSaliency()
public void setKNN(int kNN)
public int getKNN()
public void setScaleFactor(float scale_factor)
public float getScaleFactor()
public void setNScales(int use_orientation)
public int getNScales()
public void setComputeOrientation(@Cast(value="bool") boolean compute_orientation)
@opencv_core.Str public BytePointer getDefaultName()
Algorithm
getDefaultName
in class Feature2D
Copyright © 2024. All rights reserved.