Home
last modified time | relevance | path

Searched refs:CV_MAT_ELEM (Results 1 – 17 of 17) sorted by relevance

/external/opencv/cv/src/
Dcvinpaint.cpp62 #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 …]
Dcvcalibinit.cpp182 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;
184CV_MAT_ELEM( *xy, float, i*2, 2 ) = CV_MAT_ELEM( *xy, float, i*2, 3 ) = CV_MAT_ELEM( *xy, float, i…
185CV_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;
Dcvhistogram.cpp2210 CV_MAT_ELEM( *dstmat, float, y, x ) = (float)result; in cvCalcArrBackProjectPatch()
Dcvfilter.cpp2179 coeffs[k] = CV_MAT_ELEM( *kernel, float, nz_loc[k].y, nz_loc[k].x ); in init()
/external/opencv3/modules/photo/src/
Dinpaint.cpp64 #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/
Dcalibinit.cpp212 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;
214CV_MAT_ELEM( *xy, float, i*2, 2 ) = CV_MAT_ELEM( *xy, float, i*2, 3 ) = CV_MAT_ELEM( *xy, float, i…
215CV_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/
Dml_inner_functions.cpp135 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.h71 ? (CV_MAT_ELEM( mat, type, comp, vect )) \
72 : (CV_MAT_ELEM( mat, type, vect, comp )))
Dmltestset.cpp147 CV_MAT_ELEM( **responses, int, 0, elem.i ) = cur_class; in cvCreateTestSet()
Dmlcnn.cpp1083 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/
Dold_ml_inner_functions.cpp135 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()
Dold_ml_precomp.hpp67 ? (CV_MAT_ELEM( mat, type, comp, vect )) \
68 : (CV_MAT_ELEM( mat, type, vect, comp )))
/external/opencv3/modules/imgproc/test/
Dtest_histograms.cpp1245 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/
Dutility.cpp148 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/
Dcxtypes.h647 #define CV_MAT_ELEM( mat, elemtype, row, col ) \ macro
/external/opencv3/modules/core/include/opencv2/core/
Dtypes_c.h545 #define CV_MAT_ELEM( mat, elemtype, row, col ) \ macro
/external/opencv3/modules/imgproc/src/
Dhistogram.cpp3357 CV_MAT_ELEM( *dstmat, float, y, x ) = (float)result; in cvCalcArrBackProjectPatch()