VGG
Class implementing VGG (Oxford Visual Geometry Group) descriptor trained end to end using “Descriptor Learning Using Convex Optimisation” (DLCO) aparatus described in CITE: 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)
Member of Xfeatures2d
-
Declaration
Objective-C
+ (VGG*)create:(int)desc isigma:(float)isigma img_normalize:(BOOL)img_normalize use_scale_orientation:(BOOL)use_scale_orientation scale_factor:(float)scale_factor dsc_normalize:(BOOL)dsc_normalize NS_SWIFT_NAME(create(desc:isigma:img_normalize:use_scale_orientation:scale_factor:dsc_normalize:));
Swift
class func create(desc: Int32, isigma: Float, img_normalize: Bool, use_scale_orientation: Bool, scale_factor: Float, dsc_normalize: Bool) -> VGG
-
Declaration
Objective-C
+ (VGG*)create:(int)desc isigma:(float)isigma img_normalize:(BOOL)img_normalize use_scale_orientation:(BOOL)use_scale_orientation scale_factor:(float)scale_factor NS_SWIFT_NAME(create(desc:isigma:img_normalize:use_scale_orientation:scale_factor:));
Swift
class func create(desc: Int32, isigma: Float, img_normalize: Bool, use_scale_orientation: Bool, scale_factor: Float) -> VGG
-
Declaration
Objective-C
+ (VGG*)create:(int)desc isigma:(float)isigma img_normalize:(BOOL)img_normalize use_scale_orientation:(BOOL)use_scale_orientation NS_SWIFT_NAME(create(desc:isigma:img_normalize:use_scale_orientation:));
Swift
class func create(desc: Int32, isigma: Float, img_normalize: Bool, use_scale_orientation: Bool) -> VGG
-
Declaration
Objective-C
+ (VGG*)create:(int)desc isigma:(float)isigma img_normalize:(BOOL)img_normalize NS_SWIFT_NAME(create(desc:isigma:img_normalize:));
Swift
class func create(desc: Int32, isigma: Float, img_normalize: Bool) -> VGG
-
Declaration
Objective-C
+ (VGG*)create:(int)desc isigma:(float)isigma NS_SWIFT_NAME(create(desc:isigma:));
Swift
class func create(desc: Int32, isigma: Float) -> VGG
-
Declaration
Objective-C
+ (VGG*)create:(int)desc NS_SWIFT_NAME(create(desc:));
Swift
class func create(desc: Int32) -> VGG
-
Declaration
Objective-C
+ (VGG*)create NS_SWIFT_NAME(create());
Swift
class func create() -> VGG
-
Declaration
Objective-C
- (BOOL)getUseNormalizeDescriptor NS_SWIFT_NAME(getUseNormalizeDescriptor());
Swift
func getUseNormalizeDescriptor() -> Bool
-
Declaration
Objective-C
- (BOOL)getUseNormalizeImage NS_SWIFT_NAME(getUseNormalizeImage());
Swift
func getUseNormalizeImage() -> Bool
-
Declaration
Objective-C
- (BOOL)getUseScaleOrientation NS_SWIFT_NAME(getUseScaleOrientation());
Swift
func getUseScaleOrientation() -> Bool
-
Declaration
Objective-C
- (float)getScaleFactor NS_SWIFT_NAME(getScaleFactor());
Swift
func getScaleFactor() -> Float
-
Declaration
Objective-C
- (float)getSigma NS_SWIFT_NAME(getSigma());
Swift
func getSigma() -> Float
-
Declaration
Objective-C
- (void)setScaleFactor:(float)scale_factor NS_SWIFT_NAME(setScaleFactor(scale_factor:));
Swift
func setScaleFactor(scale_factor: Float)
-
Declaration
Objective-C
- (void)setSigma:(float)isigma NS_SWIFT_NAME(setSigma(isigma:));
Swift
func setSigma(isigma: Float)
-
Declaration
Objective-C
- (void)setUseNormalizeDescriptor:(BOOL)dsc_normalize NS_SWIFT_NAME(setUseNormalizeDescriptor(dsc_normalize:));
Swift
func setUseNormalizeDescriptor(dsc_normalize: Bool)
-
Declaration
Objective-C
- (void)setUseNormalizeImage:(BOOL)img_normalize NS_SWIFT_NAME(setUseNormalizeImage(img_normalize:));
Swift
func setUseNormalizeImage(img_normalize: Bool)
-
Declaration
Objective-C
- (void)setUseScaleOrientation:(BOOL)use_scale_orientation NS_SWIFT_NAME(setUseScaleOrientation(use_scale_orientation:));
Swift
func setUseScaleOrientation(use_scale_orientation: Bool)