Lines Matching refs:MAT
1031 template <typename T> Scalar ocl_part_sum(Mat m)
1125 typedef Scalar (*part_sum)(Mat m);
1129 Mat mres = db.getMat(ACCESS_READ);
1152 Mat src = _src.getMat();
1205 const Mat* arrays[] = {&src, 0};
1306 Mat src = _src.getMat();
1343 const Mat* arrays[] = {&src, 0};
1356 Mat src = _src.getMat(), mask = _mask.getMat();
1453 const Mat* arrays[] = {&src, &mask, 0};
1573 typedef Scalar (* part_sum)(Mat m);
1575 Mat dbm = db.getMat(ACCESS_READ);
1577 mean = funcs[ddepth - CV_32S](Mat(1, groups, dtype, dbm.ptr()));
1578 stddev = funcs[sqddepth - CV_32S](Mat(1, groups, sqdtype, dbm.ptr() + groups * CV_ELEM_SIZE(dtype)));
1581 nz = saturate_cast<int>(funcs[0](Mat(1, groups, CV_32SC1, dbm.ptr() +
1603 Mat dst = _dst.getMat();
1626 Mat src = _src.getMat(), mask = _mask.getMat();
1642 Mat mean, stddev;
1748 const Mat* arrays[] = {&src, &mask, 0};
1821 Mat dst = _dst.getMat();
1932 static void ofs2idx(const Mat& a, size_t ofs, int* idx)
1955 void getMinMaxRes(const Mat & db, double * minVal, double * maxVal,
2045 typedef void (*getMinMaxResFunc)(const Mat & db, double * minVal, double * maxVal,
2197 Mat src = _src.getMat(), mask = _mask.getMat();
2297 const Mat* arrays[] = {&src, &mask, 0};
2630 Mat src = _src.getMat(), mask = _mask.getMat();
2856 Mat temp;
2862 const Mat* arrays[] = {&src, 0};
2879 const Mat* arrays[] = {&src, &mask, 0};
3011 Mat src1 = _src1.getMat(), src2 = _src2.getMat(), mask = _mask.getMat();
3117 Mat src1 = _src1.getMat(), src2 = _src2.getMat(), mask = _mask.getMat();
3339 Mat temp;
3346 const Mat* arrays[] = {&src1, &src2, 0};
3363 const Mat* arrays[] = {&src1, &src2, &mask, 0};
3583 BatchDistInvoker( const Mat& _src1, const Mat& _src2,
3584 Mat& _dist, Mat& _nidx, int _K,
3585 const Mat& _mask, int _update,
3635 const Mat *src1;
3636 const Mat *src2;
3637 Mat *dist;
3638 Mat *nidx;
3639 const Mat *mask;
3652 Mat src1 = _src1.getMat(), src2 = _src2.getMat(), mask = _mask.getMat();
3667 Mat dist = _dist.getMat(), nidx;
3683 Mat tdist, tidx;
3761 Mat src = _src.getMat();
3769 if( _idx.kind() == _InputArray::MAT && !_idx.getMatRef().isContinuous() )
3772 Mat idx = _idx.getMat();
3810 cv::Mat img = cv::cvarrToMat(imgarr, false, true, 1);
3820 cv::Mat img = cv::cvarrToMat(imgarr, false, true, 1);
3840 cv::Mat mask;
3868 cv::Mat mask, img = cv::cvarrToMat(imgarr, false, true, 1);
3882 cv::Mat a, mask;
3899 cv::Mat b = cv::cvarrToMat(imgB, false, true, 1);