@Namespace(value="cv::xfeatures2d") @Properties(inherit=opencv_xfeatures2d.class) public class BEBLID extends Feature2D
BEBLID \cite Suarez2020BEBLID is a efficient binary descriptor learned with boosting. It is able to describe keypoints from any detector just by changing the scale_factor parameter. In several benchmarks it has proved to largely improve other binary descriptors like ORB or BRISK with the same efficiency. BEBLID describes using the difference of mean gray values in different regions of the image around the KeyPoint, the descriptor is specifically optimized for image matching and patch retrieval addressing the asymmetries of these problems.
If you find this code useful, please add a reference to the following paper:
Iago Suárez, Ghesn Sfeir, José M. Buenaposada, and Luis Baumela. BEBLID: Boosted efficient binary local image descriptor. Pattern Recognition Letters, 133:366â372, 2020.
The descriptor was trained using 1 million of randomly sampled pairs of patches (20% positives and 80% negatives) from the Liberty split of the UBC datasets \cite winder2007learning as described in the paper \cite Suarez2020BEBLID. You can check in the [AKAZE example](https://raw.githubusercontent.com/opencv/opencv/master/samples/cpp/tutorial_code/features2D/AKAZE_match.cpp) how well BEBLID works. Detecting 10000 keypoints with ORB and describing with BEBLID obtains 561 inliers (75%) whereas describing with ORB obtains only 493 inliers (63%).
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
SIZE_256_BITS
enum cv::xfeatures2d::BEBLID::BeblidSize
|
static int |
SIZE_512_BITS
enum cv::xfeatures2d::BEBLID::BeblidSize
|
Constructor and Description |
---|
BEBLID(Algorithm pointer)
Downcast constructor.
|
BEBLID(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
static BEBLID |
create(float scale_factor) |
static BEBLID |
create(float scale_factor,
int n_bits)
\brief Creates the BEBLID descriptor.
|
BytePointer |
getDefaultName()
Returns the algorithm string identifier.
|
float |
getScaleFactor() |
void |
setScaleFactor(float scale_factor) |
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 SIZE_512_BITS
public static final int SIZE_256_BITS
public BEBLID(Pointer p)
Pointer(Pointer)
.public BEBLID(Algorithm pointer)
@opencv_core.Ptr public static BEBLID create(float scale_factor, int n_bits)
scale_factor
- Adjust the sampling window around detected keypoints:
- 1.00f should be the scale for ORB keypoints
- 6.75f should be the scale for SIFT detected keypoints
- 6.25f is default and fits for KAZE, SURF detected keypoints
- 5.00f should be the scale for AKAZE, MSD, AGAST, FAST, BRISK keypointsn_bits
- Determine the number of bits in the descriptor. Should be either
BEBLID::SIZE_512_BITS or BEBLID::SIZE_256_BITS.@opencv_core.Ptr public static BEBLID create(float scale_factor)
public void setScaleFactor(float scale_factor)
public float getScaleFactor()
@opencv_core.Str public BytePointer getDefaultName()
Algorithm
getDefaultName
in class Feature2D
Copyright © 2024. All rights reserved.