@Namespace(value="cv::xfeatures2d") @NoOffset @Properties(inherit=opencv_xfeatures2d.class) public class FREAK extends Feature2D
/** \brief Class implementing the FREAK (*Fast Retina Keypoint*) keypoint descriptor, described in \cite AOV12 .
The algorithm propose a novel keypoint descriptor inspired by the human visual system and more precisely the retina, coined Fast Retina Key- point (FREAK). A cascade of binary strings is computed by efficiently comparing image intensities over a retinal sampling pattern. FREAKs are in general faster to compute with lower memory load and also more robust than SIFT, SURF or BRISK. They are competitive alternatives to existing keypoints in particular for embedded applications.
\note - An example on how to use the FREAK descriptor can be found at opencv_source_code/samples/cpp/freak_demo.cpp
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
NB_ORIENPAIRS |
static int |
NB_PAIRS |
static int |
NB_SCALES |
Constructor and Description |
---|
FREAK(Algorithm pointer)
Downcast constructor.
|
FREAK(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
static FREAK |
create() |
static FREAK |
create(boolean orientationNormalized,
boolean scaleNormalized,
float patternScale,
int nOctaves,
int[] selectedPairs) |
static FREAK |
create(boolean orientationNormalized,
boolean scaleNormalized,
float patternScale,
int nOctaves,
IntBuffer selectedPairs) |
static FREAK |
create(boolean orientationNormalized,
boolean scaleNormalized,
float patternScale,
int nOctaves,
IntPointer selectedPairs) |
BytePointer |
getDefaultName()
Returns the algorithm string identifier.
|
int |
getNOctaves() |
boolean |
getOrientationNormalized() |
double |
getPatternScale() |
boolean |
getScaleNormalized() |
static int |
NB_ORIENPAIRS() |
static int |
NB_PAIRS() |
static int |
NB_SCALES() |
void |
setNOctaves(int nOctaves) |
void |
setOrientationNormalized(boolean orientationNormalized) |
void |
setPatternScale(double patternScale) |
void |
setScaleNormalized(boolean scaleNormalized) |
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 static final int NB_SCALES
public static final int NB_PAIRS
public static final int NB_ORIENPAIRS
public FREAK(Pointer p)
Pointer(Pointer)
.public FREAK(Algorithm pointer)
@MemberGetter public static int NB_SCALES()
@MemberGetter public static int NB_PAIRS()
@MemberGetter public static int NB_ORIENPAIRS()
@opencv_core.Ptr public static FREAK create(@Cast(value="bool") boolean orientationNormalized, @Cast(value="bool") boolean scaleNormalized, float patternScale, int nOctaves, @StdVector IntPointer selectedPairs)
orientationNormalized
- Enable orientation normalization.scaleNormalized
- Enable scale normalization.patternScale
- Scaling of the description pattern.nOctaves
- Number of octaves covered by the detected keypoints.selectedPairs
- (Optional) user defined selected pairs indexes,@opencv_core.Ptr public static FREAK create()
@opencv_core.Ptr public static FREAK create(@Cast(value="bool") boolean orientationNormalized, @Cast(value="bool") boolean scaleNormalized, float patternScale, int nOctaves, @StdVector IntBuffer selectedPairs)
@opencv_core.Ptr public static FREAK create(@Cast(value="bool") boolean orientationNormalized, @Cast(value="bool") boolean scaleNormalized, float patternScale, int nOctaves, @StdVector int[] selectedPairs)
public void setOrientationNormalized(@Cast(value="bool") boolean orientationNormalized)
public void setPatternScale(double patternScale)
public double getPatternScale()
public void setNOctaves(int nOctaves)
public int getNOctaves()
@opencv_core.Str public BytePointer getDefaultName()
Algorithm
getDefaultName
in class Feature2D
Copyright © 2024. All rights reserved.