/external/opencv/cv/src/ |
D | cvinpaint.cpp | 62 #define CV_MAT_3COLOR_ELEM(img,type,y,x,c) CV_MAT_ELEM(img,type,y,(x)*3+(c)) 91 num += CV_MAT_ELEM(*f,uchar,i,j)!=0; in Init() 121 if (CV_MAT_ELEM(*f,uchar,i,j)!=0) { in Add() 213 a11=CV_MAT_ELEM(*t,float,i1,j1); in FastMarching_solve() 214 a22=CV_MAT_ELEM(*t,float,i2,j2); in FastMarching_solve() 217 if( CV_MAT_ELEM(*f,uchar,i1,j1) != INSIDE ) in FastMarching_solve() 218 if( CV_MAT_ELEM(*f,uchar,i2,j2) != INSIDE ) in FastMarching_solve() 225 else if( CV_MAT_ELEM(*f,uchar,i2,j2) != INSIDE ) in FastMarching_solve() 244 CV_MAT_ELEM(*f,uchar,ii,jj) = (uchar)known; in icvCalcFMM() 254 if (CV_MAT_ELEM(*f,uchar,i,j)==INSIDE) { in icvCalcFMM() [all …]
|
D | cvcalibinit.cpp | 182 CV_MAT_ELEM( *xy, float, i*2+1, 2 ) = CV_MAT_ELEM( *xy, float, i*2, 0 ) = pts2[j].x; 183 CV_MAT_ELEM( *xy, float, i*2+1, 3 ) = CV_MAT_ELEM( *xy, float, i*2, 1 ) = pts2[j].y; 184 …CV_MAT_ELEM( *xy, float, i*2, 2 ) = CV_MAT_ELEM( *xy, float, i*2, 3 ) = CV_MAT_ELEM( *xy, float, i… 185 …CV_MAT_ELEM( *xy, float, i*2+1, 0 ) = CV_MAT_ELEM( *xy, float, i*2+1, 1 ) = CV_MAT_ELEM( *xy, floa… 186 CV_MAT_ELEM( *xy, float, i*2, 4 ) = CV_MAT_ELEM( *xy, float, i*2+1, 5 ) = 1; 187 CV_MAT_ELEM( *uv, float, i*2, 0 ) = pts1[j].x; 188 CV_MAT_ELEM( *uv, float, i*2+1, 0 ) = pts1[j].y;
|
D | cvhistogram.cpp | 2210 CV_MAT_ELEM( *dstmat, float, y, x ) = (float)result; in cvCalcArrBackProjectPatch()
|
D | cvfilter.cpp | 2179 coeffs[k] = CV_MAT_ELEM( *kernel, float, nz_loc[k].y, nz_loc[k].x ); in init()
|
/external/opencv3/modules/photo/src/ |
D | inpaint.cpp | 64 #define CV_MAT_3COLOR_ELEM(img,type,y,x,c) CV_MAT_ELEM(img,type,y,(x)*3+(c)) 93 num += CV_MAT_ELEM(*f,uchar,i,j)!=0; in Init() 123 if (CV_MAT_ELEM(*f,uchar,i,j)!=0) { in Add() 215 a11=CV_MAT_ELEM(*t,float,i1,j1); in FastMarching_solve() 216 a22=CV_MAT_ELEM(*t,float,i2,j2); in FastMarching_solve() 219 if( CV_MAT_ELEM(*f,uchar,i1,j1) != INSIDE ) in FastMarching_solve() 220 if( CV_MAT_ELEM(*f,uchar,i2,j2) != INSIDE ) in FastMarching_solve() 227 else if( CV_MAT_ELEM(*f,uchar,i2,j2) != INSIDE ) in FastMarching_solve() 246 CV_MAT_ELEM(*f,uchar,ii,jj) = (uchar)known; in icvCalcFMM() 256 if (CV_MAT_ELEM(*f,uchar,i,j)==INSIDE) { in icvCalcFMM() [all …]
|
/external/opencv3/modules/calib3d/src/ |
D | calibinit.cpp | 212 CV_MAT_ELEM( *xy, float, i*2+1, 2 ) = CV_MAT_ELEM( *xy, float, i*2, 0 ) = pts2[j].x; 213 CV_MAT_ELEM( *xy, float, i*2+1, 3 ) = CV_MAT_ELEM( *xy, float, i*2, 1 ) = pts2[j].y; 214 …CV_MAT_ELEM( *xy, float, i*2, 2 ) = CV_MAT_ELEM( *xy, float, i*2, 3 ) = CV_MAT_ELEM( *xy, float, i… 215 …CV_MAT_ELEM( *xy, float, i*2+1, 0 ) = CV_MAT_ELEM( *xy, float, i*2+1, 1 ) = CV_MAT_ELEM( *xy, floa… 216 CV_MAT_ELEM( *xy, float, i*2, 4 ) = CV_MAT_ELEM( *xy, float, i*2+1, 5 ) = 1; 217 CV_MAT_ELEM( *uv, float, i*2, 0 ) = pts1[j].x; 218 CV_MAT_ELEM( *uv, float, i*2+1, 0 ) = pts1[j].y;
|
/external/opencv/ml/src/ |
D | ml_inner_functions.cpp | 135 CV_MAT_ELEM(*S, float, i, j) = 0; in cvChol() 139 sum += CV_MAT_ELEM(*S, float, k, i) * CV_MAT_ELEM(*S, float, k, i); in cvChol() 141 CV_MAT_ELEM(*S, float, i, i) = (float)sqrt(CV_MAT_ELEM(*A, float, i, i) - sum); in cvChol() 147 sum += CV_MAT_ELEM(*S, float, k, i) * CV_MAT_ELEM(*S, float, k, j); in cvChol() 149 CV_MAT_ELEM(*S, float, i, j) = in cvChol() 150 (CV_MAT_ELEM(*A, float, i, j) - sum) / CV_MAT_ELEM(*S, float, i, i); in cvChol() 202 if ( CV_MAT_ELEM(*univals, float, 0, i) <= knots[j] ) in cvRandSeries() 248 CV_MAT_ELEM(*classes, float, 0, i) = (float)sample_clsnum[i]; in cvRandGaussMixture() 360 CV_MAT_ELEM (sample, float, 0, j) *= coefficient; in cvRandRoundUni()
|
D | _ml.h | 71 ? (CV_MAT_ELEM( mat, type, comp, vect )) \ 72 : (CV_MAT_ELEM( mat, type, vect, comp )))
|
D | mltestset.cpp | 147 CV_MAT_ELEM( **responses, int, 0, elem.i ) = cur_class; in cvCreateTestSet()
|
D | mlcnn.cpp | 1083 CV_MAT_ELEM(*dY_dX, float, Y_idx+yy*Y_plane_width+xx, 1087 CV_MAT_ELEM(*dY_dW, float, Y_idx+yy*Y_plane_width+xx, 1093 CV_MAT_ELEM(*dY_dW, float, Y_idx+yy*Y_plane_width+xx,
|
/external/opencv3/apps/traincascade/ |
D | old_ml_inner_functions.cpp | 135 CV_MAT_ELEM(*S, float, i, j) = 0; in cvChol() 139 sum += CV_MAT_ELEM(*S, float, k, i) * CV_MAT_ELEM(*S, float, k, i); in cvChol() 141 CV_MAT_ELEM(*S, float, i, i) = (float)sqrt(CV_MAT_ELEM(*A, float, i, i) - sum); in cvChol() 147 sum += CV_MAT_ELEM(*S, float, k, i) * CV_MAT_ELEM(*S, float, k, j); in cvChol() 149 CV_MAT_ELEM(*S, float, i, j) = in cvChol() 150 (CV_MAT_ELEM(*A, float, i, j) - sum) / CV_MAT_ELEM(*S, float, i, i); in cvChol() 202 if ( CV_MAT_ELEM(*univals, float, 0, i) <= knots[j] ) in cvRandSeries() 248 CV_MAT_ELEM(*classes, float, 0, i) = (float)sample_clsnum[i]; in cvRandGaussMixture()
|
D | old_ml_precomp.hpp | 67 ? (CV_MAT_ELEM( mat, type, comp, vect )) \ 68 : (CV_MAT_ELEM( mat, type, vect, comp )))
|
/external/opencv3/modules/imgproc/test/ |
D | test_histograms.cpp | 1245 const uchar* mptr = _mask ? &CV_MAT_ELEM(mask, uchar, y, 0 ) : 0; in cvTsCalcHist() 1249 plane[k].ptr = &CV_MAT_ELEM(images[k], uchar, y, 0 ) + channels[k]; in cvTsCalcHist() 1252 plane[k].fl = &CV_MAT_ELEM(images[k], float, y, 0 ) + channels[k]; in cvTsCalcHist()
|
/external/opencv3/apps/createsamples/ |
D | utility.cpp | 148 tmp = (short) (CV_MAT_ELEM( *mat, uchar, r, c )); in icvWriteVecSample() 1595 CV_MAT_ELEM( *img, uchar, r, c ) = in icvGetTraininDataFromVec()
|
/external/opencv/cxcore/include/ |
D | cxtypes.h | 647 #define CV_MAT_ELEM( mat, elemtype, row, col ) \ macro
|
/external/opencv3/modules/core/include/opencv2/core/ |
D | types_c.h | 545 #define CV_MAT_ELEM( mat, elemtype, row, col ) \ macro
|
/external/opencv3/modules/imgproc/src/ |
D | histogram.cpp | 3357 CV_MAT_ELEM( *dstmat, float, y, x ) = (float)result; in cvCalcArrBackProjectPatch()
|