added EMD to ch7 hist sample, fixed bug with cv::min/cv::max (ticket #1270), fixed mixChannels description
This commit is contained in:
@@ -1308,6 +1308,37 @@ template<typename _Tp> static inline MatExpr max(double s, const Mat_<_Tp>& a)
|
||||
{
|
||||
return cv::max((const Mat&)a, s);
|
||||
}
|
||||
|
||||
template<typename _Tp> static inline void min(const Mat_<_Tp>& a, const Mat_<_Tp>& b, Mat_<_Tp>& c)
|
||||
{
|
||||
cv::min((const Mat&)a, (const Mat&)b, (Mat&)c);
|
||||
}
|
||||
|
||||
template<typename _Tp> static inline void min(const Mat_<_Tp>& a, double s, Mat_<_Tp>& c)
|
||||
{
|
||||
cv::min((const Mat&)a, s, (Mat&)c);
|
||||
}
|
||||
|
||||
template<typename _Tp> static inline void min(double s, const Mat_<_Tp>& a, Mat_<_Tp>& c)
|
||||
{
|
||||
cv::min((const Mat&)a, s, (Mat&)c);
|
||||
}
|
||||
|
||||
template<typename _Tp> static inline void max(const Mat_<_Tp>& a, const Mat_<_Tp>& b, Mat_<_Tp>& c)
|
||||
{
|
||||
cv::min((const Mat&)a, (const Mat&)b, (Mat&)c);
|
||||
}
|
||||
|
||||
template<typename _Tp> static inline void max(const Mat_<_Tp>& a, double s, Mat_<_Tp>& c)
|
||||
{
|
||||
cv::min((const Mat&)a, s, (Mat&)c);
|
||||
}
|
||||
|
||||
template<typename _Tp> static inline void max(double s, const Mat_<_Tp>& a, Mat_<_Tp>& c)
|
||||
{
|
||||
cv::min((const Mat&)a, s, (Mat&)c);
|
||||
}
|
||||
|
||||
|
||||
CV_EXPORTS MatExpr operator & (const Mat& a, const Mat& b);
|
||||
CV_EXPORTS MatExpr operator & (const Mat& a, const Scalar& s);
|
||||
|
Reference in New Issue
Block a user