Home
last modified time | relevance | path

Searched refs:mstep (Results 1 – 12 of 12) sorted by relevance

/external/opencv/cv/src/
Dcvsegmentation.cpp107 int mstep, istep; in cvWatershed() local
172 mstep = dst->step / sizeof(mask[0]); in cvWatershed()
184 mask[j] = mask[j + mstep*(size.height-1)] = WSHED; in cvWatershed()
190 img += istep; mask += mstep; in cvWatershed()
197 if( m[0] == 0 && (m[-1] > 0 || m[1] > 0 || m[-mstep] > 0 || m[mstep] > 0) ) in cvWatershed()
208 if( m[-mstep] > 0 ) in cvWatershed()
213 if( m[mstep] > 0 ) in cvWatershed()
219 ws_push( idx, i*mstep + j, i*istep + j*3 ); in cvWatershed()
268 t = m[-mstep]; in cvWatershed()
274 t = m[mstep]; in cvWatershed()
[all …]
Dcvfundam.cpp44 template<typename T> int icvCompressPoints( T* ptr, const uchar* mask, int mstep, int count ) in icvCompressPoints() argument
48 if( mask[i*mstep] ) in icvCompressPoints()
/external/opencv3/modules/imgproc/src/
Dsegmentation.cpp170 int mstep = int(dst.step / sizeof(mask[0])); in watershed() local
179 mask[j] = mask[j + mstep*(size.height-1)] = WSHED; in watershed()
185 img += istep; mask += mstep; in watershed()
192 if( m[0] == 0 && (m[-1] > 0 || m[1] > 0 || m[-mstep] > 0 || m[mstep] > 0) ) in watershed()
204 if( m[-mstep] > 0 ) in watershed()
209 if( m[mstep] > 0 ) in watershed()
217 ws_push( idx, i*mstep + j, i*istep + j*3 ); in watershed()
273 t = m[-mstep]; // Top in watershed()
279 t = m[mstep]; // Bottom in watershed()
308 if( m[-mstep] == 0 ) in watershed()
[all …]
Dhistogram.cpp759 int mstep = _deltas[dims*2 + 1]; in calcHist_() local
783 for( ; imsize.height--; p0 += step0, mask += mstep ) in calcHist_()
818 for( ; imsize.height--; p0 += step0, p1 += step1, mask += mstep ) in calcHist_()
863 for( ; imsize.height--; p0 += step0, p1 += step1, p2 += step2, mask += mstep ) in calcHist_()
892 for( ; imsize.height--; mask += mstep ) in calcHist_()
946 for( ; imsize.height--; mask += mstep ) in calcHist_()
994 int mstep = _deltas[dims*2 + 1]; in calcHist_8u() local
1018 for( ; imsize.height--; p0 += step0, mask += mstep ) in calcHist_8u()
1074 for( ; imsize.height--; p0 += step0, p1 += step1, mask += mstep ) in calcHist_8u()
1109 for( ; imsize.height--; p0 += step0, p1 += step1, p2 += step2, mask += mstep ) in calcHist_8u()
[all …]
/external/opencv3/modules/imgproc/test/
Dtest_floodfill.cpp252 int mstep, step; in cvTsFloodFill() local
279 mstep = mask->step / sizeof(m[0]); in cvTsFloodFill()
283 p0.mofs = seed_pt.y*mstep + seed_pt.x; in cvTsFloodFill()
295 mdelta[0] = -mstep; idelta[0] = -step; in cvTsFloodFill()
298 mdelta[3] = mstep; idelta[3] = step; in cvTsFloodFill()
303 mdelta[0] = -mstep-1; mdelta[1] = -mstep; mdelta[2] = -mstep+1; in cvTsFloodFill()
309 mdelta[5] = mstep-1; mdelta[6] = mstep; mdelta[7] = mstep+1; in cvTsFloodFill()
430 ushort* mptr = m + i*mstep; in cvTsFloodFill()
/external/opencv3/modules/core/src/
Dcopy.cpp56 copyMask_(const uchar* _src, size_t sstep, const uchar* mask, size_t mstep, uchar* _dst, size_t dst… in copyMask_() argument
58 for( ; size.height--; mask += mstep, _src += sstep, _dst += dstep ) in copyMask_()
83 copyMask_<uchar>(const uchar* _src, size_t sstep, const uchar* mask, size_t mstep, uchar* _dst, siz… in copyMask_() argument
88 … if (ippiCopy_8u_C1MR(_src, (int)sstep, _dst, (int)dstep, ippiSize(size), mask, (int)mstep) >= 0) in copyMask_()
97 for( ; size.height--; mask += mstep, _src += sstep, _dst += dstep ) in copyMask_()
133 copyMask_<ushort>(const uchar* _src, size_t sstep, const uchar* mask, size_t mstep, uchar* _dst, si… in copyMask_() argument
138 …onst Ipp16u *)_src, (int)sstep, (Ipp16u *)_dst, (int)dstep, ippiSize(size), mask, (int)mstep) >= 0) in copyMask_()
147 for( ; size.height--; mask += mstep, _src += sstep, _dst += dstep ) in copyMask_()
186 copyMaskGeneric(const uchar* _src, size_t sstep, const uchar* mask, size_t mstep, uchar* _dst, size… in copyMaskGeneric() argument
189 for( ; size.height--; mask += mstep, _src += sstep, _dst += dstep ) in copyMaskGeneric()
[all …]
/external/opencv3/modules/calib3d/
Dprecomp.hpp105 template<typename T> inline int compressElems( T* ptr, const uchar* mask, int mstep, int count ) in compressElems() argument
109 if( mask[i*mstep] ) in compressElems()
/external/opencv3/modules/calib3d/src/
Dprecomp.hpp105 template<typename T> inline int compressElems( T* ptr, const uchar* mask, int mstep, int count ) in compressElems() argument
109 if( mask[i*mstep] ) in compressElems()
/external/opencv3/apps/traincascade/
Dold_ml_boost.cpp1666 int sstep, mstep = 0; in predict() local
1687 mstep = CV_IS_MAT_CONT(_missing->type) ? 1 : _missing->step; in predict()
1695 uchar m = src_mask ? src_mask[idx_abs*mstep] : (uchar)0; in predict()
Dold_ml_tree.cpp3623 int i, mstep = 0; in predict() local
3656 mstep = CV_IS_MAT_CONT(_missing->type) ? 1 : _missing->step/sizeof(m[0]); in predict()
3674 if( m && m[(size_t)i*mstep] ) in predict()
/external/opencv/ml/src/
Dmlboost.cpp1331 int step, mstep = 0; in predict() local
1356 mstep = CV_IS_MAT_CONT(_missing->type) ? 1 : _missing->step; in predict()
Dmltree.cpp2891 int i, step, mstep = 0; in predict() local
2929 mstep = CV_IS_MAT_CONT(_missing->type) ? 1 : _missing->step/sizeof(m[0]); in predict()
2947 if( m && m[i*mstep] ) in predict()