Lines Matching refs:_src
50 thresh_8u( const Mat& _src, Mat& _dst, uchar thresh, uchar maxval, int type ) in thresh_8u() argument
54 Size roi = _src.size(); in thresh_8u()
55 roi.width *= _src.channels(); in thresh_8u()
56 size_t src_step = _src.step; in thresh_8u()
59 if( _src.isContinuous() && _dst.isContinuous() ) in thresh_8u()
67 …if (tegra::useTegra() && tegra::thresh_8u(_src, _dst, roi.width, roi.height, thresh, maxval, type)) in thresh_8u()
80 …if (_src.data == _dst.data && ippiThreshold_GT_8u_C1IR(_dst.ptr(), (int)dst_step, sz, thresh) >= 0) in thresh_8u()
86 …if (ippiThreshold_GT_8u_C1R(_src.ptr(), (int)src_step, _dst.ptr(), (int)dst_step, sz, thresh) >= 0) in thresh_8u()
95 …if (_src.data == _dst.data && ippiThreshold_LTVal_8u_C1IR(_dst.ptr(), (int)dst_step, sz, thresh+1,… in thresh_8u()
101 …if (ippiThreshold_LTVal_8u_C1R(_src.ptr(), (int)src_step, _dst.ptr(), (int)dst_step, sz, thresh+1,… in thresh_8u()
110 …if (_src.data == _dst.data && ippiThreshold_GTVal_8u_C1IR(_dst.ptr(), (int)dst_step, sz, thresh, 0… in thresh_8u()
116 …if (ippiThreshold_GTVal_8u_C1R(_src.ptr(), (int)src_step, _dst.ptr(), (int)dst_step, sz, thresh, 0… in thresh_8u()
175 const uchar* src = _src.ptr() + src_step*i; in thresh_8u()
296 const uchar* src = _src.ptr() + src_step*i; in thresh_8u()
307 const uchar* src = _src.ptr() + src_step*i; in thresh_8u()
318 const uchar* src = _src.ptr() + src_step*i; in thresh_8u()
329 const uchar* src = _src.ptr() + src_step*i; in thresh_8u()
343 const uchar* src = _src.ptr() + src_step*i; in thresh_8u()
362 const uchar* src = _src.ptr() + src_step*i; in thresh_8u()
389 thresh_16s( const Mat& _src, Mat& _dst, short thresh, short maxval, int type ) in thresh_16s() argument
392 Size roi = _src.size(); in thresh_16s()
393 roi.width *= _src.channels(); in thresh_16s()
394 const short* src = _src.ptr<short>(); in thresh_16s()
396 size_t src_step = _src.step/sizeof(src[0]); in thresh_16s()
403 if( _src.isContinuous() && _dst.isContinuous() ) in thresh_16s()
411 …if (tegra::useTegra() && tegra::thresh_16s(_src, _dst, roi.width, roi.height, thresh, maxval, type… in thresh_16s()
424 …if (_src.data == _dst.data && ippiThreshold_GT_16s_C1IR(dst, (int)dst_step*sizeof(dst[0]), sz, thr… in thresh_16s()
439 …if (_src.data == _dst.data && ippiThreshold_LTVal_16s_C1IR(dst, (int)dst_step*sizeof(dst[0]), sz, … in thresh_16s()
454 …if (_src.data == _dst.data && ippiThreshold_GTVal_16s_C1IR(dst, (int)dst_step*sizeof(dst[0]), sz, … in thresh_16s()
658 thresh_32f( const Mat& _src, Mat& _dst, float thresh, float maxval, int type ) in thresh_32f() argument
661 Size roi = _src.size(); in thresh_32f()
662 roi.width *= _src.channels(); in thresh_32f()
663 const float* src = _src.ptr<float>(); in thresh_32f()
665 size_t src_step = _src.step/sizeof(src[0]); in thresh_32f()
672 if( _src.isContinuous() && _dst.isContinuous() ) in thresh_32f()
679 …if (tegra::useTegra() && tegra::thresh_32f(_src, _dst, roi.width, roi.height, thresh, maxval, type… in thresh_32f()
909 getThreshVal_Otsu_8u( const Mat& _src ) in getThreshVal_Otsu_8u() argument
911 Size size = _src.size(); in getThreshVal_Otsu_8u()
912 int step = (int) _src.step; in getThreshVal_Otsu_8u()
913 if( _src.isContinuous() ) in getThreshVal_Otsu_8u()
926 IppStatus ok = ippiComputeThreshold_Otsu_8u_C1R(_src.ptr(), step, srcSize, &thresh); in getThreshVal_Otsu_8u()
941 const uchar* src = _src.ptr() + step*i; in getThreshVal_Otsu_8u()
990 getThreshVal_Triangle_8u( const Mat& _src ) in getThreshVal_Triangle_8u() argument
992 Size size = _src.size(); in getThreshVal_Triangle_8u()
993 int step = (int) _src.step; in getThreshVal_Triangle_8u()
994 if( _src.isContinuous() ) in getThreshVal_Triangle_8u()
1005 const uchar* src = _src.ptr() + step*i; in getThreshVal_Triangle_8u()
1096 ThresholdRunner(Mat _src, Mat _dst, double _thresh, double _maxval, int _thresholdType) in ThresholdRunner() argument
1098 src = _src; in ThresholdRunner()
1139 static bool ocl_threshold( InputArray _src, OutputArray _dst, double & thresh, double maxval, int t… in ocl_threshold() argument
1141 int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type), in ocl_threshold()
1142 kercn = ocl::predictOptimalVectorWidth(_src, _dst), ktype = CV_MAKE_TYPE(depth, kercn); in ocl_threshold()
1162 UMat src = _src.getUMat(); in ocl_threshold()
1186 double cv::threshold( InputArray _src, OutputArray _dst, double thresh, double maxval, int type ) in threshold() argument
1188 CV_OCL_RUN_(_src.dims() <= 2 && _dst.isUMat(), in threshold()
1189 ocl_threshold(_src, _dst, thresh, maxval, type), thresh) in threshold()
1191 Mat src = _src.getMat(); in threshold()
1276 void cv::adaptiveThreshold( InputArray _src, OutputArray _dst, double maxValue, in adaptiveThreshold() argument
1279 Mat src = _src.getMat(); in adaptiveThreshold()