temporarily set "enable_precise_upscale=false" by default to avoid sporadic failures in regression tests (#23270)

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

View File

@ -289,11 +289,11 @@ public:
@param enable_precise_upscale Whether to enable precise upscaling in the scale pyramid, which maps @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 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 = 0, int nOctaveLayers = 3, CV_WRAP static Ptr<SIFT> create(int nfeatures = 0, int nOctaveLayers = 3,
double contrastThreshold = 0.04, double edgeThreshold = 10, double contrastThreshold = 0.04, double edgeThreshold = 10,
double sigma = 1.6, bool enable_precise_upscale = true); double sigma = 1.6, bool enable_precise_upscale = false);
/** @brief Create SIFT with specified descriptorType. /** @brief Create SIFT with specified descriptorType.
@param nfeatures The number of best features to retain. The features are ranked by their scores @param nfeatures The number of best features to retain. The features are ranked by their scores