pub struct VGG { /* private fields */ }
Expand description
Class implementing VGG (Oxford Visual Geometry Group) descriptor trained end to end
using “Descriptor Learning Using Convex Optimisation” (DLCO) aparatus described in Simonyan14.
-
desc: type of descriptor to use, VGG::VGG_120 is default (120 dimensions float)
Available types are VGG::VGG_120, VGG::VGG_80, VGG::VGG_64, VGG::VGG_48
-
isigma: gaussian kernel value for image blur (default is 1.4f)
-
img_normalize: use image sample intensity normalization (enabled by default)
-
use_orientation: sample patterns using keypoints orientation, enabled by default
-
scale_factor: adjust the sampling window of detected keypoints to 64.0f (VGG sampling window)
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
-
dsc_normalize: clamp descriptors to 255 and convert to uchar CV_8UC1 (disabled by default)
- desc: VGG::VGG_120
- isigma: 1.4f
- img_normalize: true
- use_scale_orientation: true
- scale_factor: 6.25f
- dsc_normalize: false
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
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
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
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.