fixed another SIFT constructor (#23272)

This commit is contained in:
Vadim Pisarevsky 2023-02-18 00:07:45 +03:00 committed by GitHub
parent f48939c2d7
commit ca48e217f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -320,11 +320,11 @@ public:
@param enable_precise_upscale Whether to enable precise upscaling in the scale pyramid, which maps
index \f$\texttt{x}\f$ to \f$\texttt{2x}\f$. This prevents localization bias. The option
to disable it (which is deprecated and issues a warning) is provided to keep the original behavior.
is disabled by default.
*/
CV_WRAP static Ptr<SIFT> create(int nfeatures, int nOctaveLayers,
double contrastThreshold, double edgeThreshold,
double sigma, int descriptorType, bool enable_precise_upscale = true);
double sigma, int descriptorType, bool enable_precise_upscale = false);
CV_WRAP virtual String getDefaultName() const CV_OVERRIDE;