diff --git a/modules/features2d/include/opencv2/features2d.hpp b/modules/features2d/include/opencv2/features2d.hpp index 87d7caff92..90a047719a 100644 --- a/modules/features2d/include/opencv2/features2d.hpp +++ b/modules/features2d/include/opencv2/features2d.hpp @@ -900,7 +900,7 @@ public: }; CV_WRAP KAZE(); - explicit KAZE(DESCRIPTOR_TYPE descriptor_type, bool _extended, bool _upright); + explicit KAZE(DESCRIPTOR_TYPE descriptor_type, bool extended, bool upright); virtual ~KAZE(); @@ -944,7 +944,7 @@ public: }; CV_WRAP AKAZE(); - explicit AKAZE(DESCRIPTOR_TYPE descriptor_type, int _descriptor_size = 0, int _descriptor_channels = 3); + explicit AKAZE(DESCRIPTOR_TYPE descriptor_type, int descriptor_size = 0, int descriptor_channels = 3); virtual ~AKAZE(); diff --git a/modules/features2d/src/akaze.cpp b/modules/features2d/src/akaze.cpp index 1ffde9ebc2..4b1eb196a2 100644 --- a/modules/features2d/src/akaze.cpp +++ b/modules/features2d/src/akaze.cpp @@ -60,8 +60,8 @@ namespace cv { } - AKAZE::AKAZE(DESCRIPTOR_TYPE descriptor_type, int _descriptor_size, int _descriptor_channels) - : descriptor(descriptor_type) + AKAZE::AKAZE(DESCRIPTOR_TYPE _descriptor_type, int _descriptor_size, int _descriptor_channels) + : descriptor(_descriptor_type) , descriptor_channels(_descriptor_channels) , descriptor_size(_descriptor_size) { diff --git a/modules/features2d/src/kaze.cpp b/modules/features2d/src/kaze.cpp index 3fc98e5863..646ee4bdbb 100644 --- a/modules/features2d/src/kaze.cpp +++ b/modules/features2d/src/kaze.cpp @@ -59,8 +59,8 @@ namespace cv { } - KAZE::KAZE(DESCRIPTOR_TYPE descriptor_type, bool _extended, bool _upright) - : descriptor(descriptor_type) + KAZE::KAZE(DESCRIPTOR_TYPE _descriptor_type, bool _extended, bool _upright) + : descriptor(_descriptor_type) , extended(_extended) , upright(_upright) {