pub struct BoostDesc { /* private fields */ }
Expand description
Class implementing BoostDesc (Learning Image Descriptors with Boosting), described in
Trzcinski13a and Trzcinski13b.
- desc: type of descriptor to use, BoostDesc::BINBOOST_256 is default (256 bit long dimension)
Available types are: BoostDesc::BGM, BoostDesc::BGM_HARD, BoostDesc::BGM_BILINEAR, BoostDesc::LBGM,
BoostDesc::BINBOOST_64, BoostDesc::BINBOOST_128, BoostDesc::BINBOOST_256
- use_orientation: sample patterns using keypoints orientation, enabled by default
- scale_factor: adjust the sampling window of detected keypoints
6.25f is default and fits for KAZE, SURF detected keypoints window ratio
6.75f should be the scale for SIFT detected keypoints window ratio
5.00f should be the scale for AKAZE, MSD, AGAST, FAST, BRISK keypoints window ratio
0.75f should be the scale for ORB keypoints ratio
1.50f was the default in original implementation
Note: BGM is the base descriptor where each binary dimension is computed as the output of a single weak learner.
BGM_HARD and BGM_BILINEAR refers to same BGM but use different type of gradient binning. In the BGM_HARD that
use ASSIGN_HARD binning type the gradient is assigned to the nearest orientation bin. In the BGM_BILINEAR that use
ASSIGN_BILINEAR binning type the gradient is assigned to the two neighbouring bins. In the BGM and all other modes that use
ASSIGN_SOFT binning type the gradient is assigned to 8 nearest bins according to the cosine value between the gradient
angle and the bin center. LBGM (alias FP-Boost) is the floating point extension where each dimension is computed
as a linear combination of the weak learner responses. BINBOOST and subvariants are the binary extensions of LBGM
where each bit is computed as a thresholded linear combination of a set of weak learners.
BoostDesc header files (boostdesc_*.i) was exported from original binaries with export-boostdesc.py script from
samples subfolder.
- desc: BoostDesc::BINBOOST_256
- use_scale_orientation: true
- scale_factor: 6.25f
This alternative version of [create] function uses the following default values for its arguments:
- desc: BoostDesc::BINBOOST_256
- use_scale_orientation: true
- scale_factor: 6.25f
Clears the algorithm state
Reads algorithm parameters from a file storage
Stores algorithm parameters in a file storage
Stores algorithm parameters in a file storage
Read more
Deprecated: ## Note
This alternative version of [write_with_name] function uses the following default values for its arguments:
Read more
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Return an the underlying raw pointer while consuming this wrapper.
Read more
Return the underlying mutable raw pointer
Read more
Formats the value using the given formatter.
Read more
Executes the destructor for this type.
Read more
Detects keypoints in an image (first variant) or image set (second variant).
Read more
Detects keypoints in an image (first variant) or image set (second variant).
Read more
Detects keypoints in an image (first variant) or image set (second variant).
Read more
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant).
Read more
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant).
Read more
Detects keypoints and computes the descriptors
Read more
Detects keypoints and computes the descriptors
Read more
Return true if detector object is empty
Converts to this type from the input type.
Converts to this type from the input type.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.