Skip to content

Commit c8ed08d

Browse files
committed
Merge pull request #2058 from shimat:fix_superres_typo
2 parents b7e7852 + 9a5f442 commit c8ed08d

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

modules/superres/include/opencv2/superres.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@ namespace cv
123123
virtual void setTau(double val) = 0;
124124

125125
//! @brief Weight parameter to balance data term and smoothness term
126-
/** @see setLabmda */
127-
virtual double getLabmda() const = 0;
128-
/** @copybrief getLabmda @see getLabmda */
129-
virtual void setLabmda(double val) = 0;
126+
/** @see setLambda */
127+
virtual double getLambda() const = 0;
128+
/** @copybrief getLambda @see getLambda */
129+
virtual void setLambda(double val) = 0;
130130

131131
//! @brief Parameter of spacial distribution in Bilateral-TV
132132
/** @see setAlpha */

modules/superres/src/btv_l1.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,8 +478,8 @@ namespace
478478
inline void setIterations(int val) CV_OVERRIDE { iterations_ = val; }
479479
inline double getTau() const CV_OVERRIDE { return tau_; }
480480
inline void setTau(double val) CV_OVERRIDE { tau_ = val; }
481-
inline double getLabmda() const CV_OVERRIDE { return lambda_; }
482-
inline void setLabmda(double val) CV_OVERRIDE { lambda_ = val; }
481+
inline double getLambda() const CV_OVERRIDE { return lambda_; }
482+
inline void setLambda(double val) CV_OVERRIDE { lambda_ = val; }
483483
inline double getAlpha() const CV_OVERRIDE { return alpha_; }
484484
inline void setAlpha(double val) CV_OVERRIDE { alpha_ = val; }
485485
inline int getKernelSize() const CV_OVERRIDE { return btvKernelSize_; }

modules/superres/src/btv_l1_cuda.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,8 @@ namespace
223223
inline void setIterations(int val) CV_OVERRIDE { iterations_ = val; }
224224
inline double getTau() const CV_OVERRIDE { return tau_; }
225225
inline void setTau(double val) CV_OVERRIDE { tau_ = val; }
226-
inline double getLabmda() const CV_OVERRIDE { return lambda_; }
227-
inline void setLabmda(double val) CV_OVERRIDE { lambda_ = val; }
226+
inline double getLambda() const CV_OVERRIDE { return lambda_; }
227+
inline void setLambda(double val) CV_OVERRIDE { lambda_ = val; }
228228
inline double getAlpha() const CV_OVERRIDE { return alpha_; }
229229
inline void setAlpha(double val) CV_OVERRIDE { alpha_ = val; }
230230
inline int getKernelSize() const CV_OVERRIDE { return btvKernelSize_; }

0 commit comments

Comments
 (0)