added gain compensation into opencv_stitching

This commit is contained in:
Alexey Spizhevoy
2011-05-25 09:09:41 +00:00
parent 331062360d
commit 899d7726d3
9 changed files with 236 additions and 77 deletions

View File

@@ -105,11 +105,8 @@ double normL2sq(const cv::Mat &r)
}
template <typename T>
static inline
T sqr(T x)
{
return x * x;
}
static inline int sqr(int x) { return x * x; }
static inline float sqr(float x) { return x * x; }
static inline double sqr(double x) { return x * x; }
#endif // __OPENCV_STITCHING_UTIL_INL_HPP__