i2 834 3rdparty/libtiff/tif_luv.c int i1, i2; i2 838 3rdparty/libtiff/tif_luv.c for (i2 = 1; i2 < NANGLES/2; i2++) i2 839 3rdparty/libtiff/tif_luv.c if (eps[(i+NANGLES-i2)%NANGLES] < 1.5) i2 841 3rdparty/libtiff/tif_luv.c if (i1 < i2) i2 846 3rdparty/libtiff/tif_luv.c oog_table[(i+NANGLES-i2)%NANGLES]; i2 2119 apps/traincascade/old_ml_tree.cpp int i2 = (*r)(n); i2 2120 apps/traincascade/old_ml_tree.cpp CV_SWAP( labels[i1], labels[i2], j ); i2 92 modules/calib3d/src/calibration.cpp int i1 = i / N, i2 = i % N; i2 97 modules/calib3d/src/calibration.cpp const float* b = (const float*)B->data.ptr + i2; i2 113 modules/calib3d/src/calibration.cpp dcdb[j*N + i2] = a[j]; i2 121 modules/calib3d/src/calibration.cpp int i1 = i / N, i2 = i % N; i2 126 modules/calib3d/src/calibration.cpp const double* b = (const double*)B->data.ptr + i2; i2 142 modules/calib3d/src/calibration.cpp dcdb[j*N + i2] = a[j]; i2 512 modules/calib3d/src/circlesgrid.cpp int i1 = (int)it1->first, i2 = (int)it2->first, i3 = (int)it3->first; i2 513 modules/calib3d/src/circlesgrid.cpp int val1 = distanceMatrix.at<int> (i2, i3); i2 515 modules/calib3d/src/circlesgrid.cpp if (distanceMatrix.at<int> (i2, i1) == infinity || i2 520 modules/calib3d/src/circlesgrid.cpp val2 = distanceMatrix.at<int> (i2, i1) + distanceMatrix.at<int> (i1, i3); i2 522 modules/calib3d/src/circlesgrid.cpp distanceMatrix.at<int> (i2, i3) = (val1 == infinity) ? val2 : std::min(val1, val2); i2 1261 modules/calib3d/src/rho.cpp unsigned i0 = ctrl.smpl[0], i1 = ctrl.smpl[1], i2 = ctrl.smpl[2], i3 = ctrl.smpl[3]; i2 1274 modules/calib3d/src/rho.cpp pkdPts[2] = src[i2]; i2 1278 modules/calib3d/src/rho.cpp pkdPts[6] = dst[i2]; i2 1643 modules/core/include/opencv2/core/mat.hpp uchar* ptr(int i0, int i1, int i2); i2 1645 modules/core/include/opencv2/core/mat.hpp const uchar* ptr(int i0, int i1, int i2) const; i2 1665 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _Tp* ptr(int i0, int i1, int i2); i2 1667 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> const _Tp* ptr(int i0, int i1, int i2) const; i2 1717 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _Tp& at(int i0, int i1, int i2); i2 1723 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> const _Tp& at(int i0, int i1, int i2) const; i2 2527 modules/core/include/opencv2/core/mat.hpp size_t hash(int i0, int i1, int i2) const; i2 2547 modules/core/include/opencv2/core/mat.hpp uchar* ptr(int i0, int i1, int i2, bool createMissing, size_t* hashval=0); i2 2565 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _Tp& ref(int i0, int i1, int i2, size_t* hashval=0); i2 2586 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _Tp value(int i0, int i1, int i2, size_t* hashval=0) const; i2 2604 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> const _Tp* find(int i0, int i1, int i2, size_t* hashval=0) const; i2 2612 modules/core/include/opencv2/core/mat.hpp void erase(int i0, int i1, int i2, size_t* hashval=0); i2 2717 modules/core/include/opencv2/core/mat.hpp _Tp& ref(int i0, int i1, int i2, size_t* hashval=0); i2 2726 modules/core/include/opencv2/core/mat.hpp _Tp operator()(int i0, int i1, int i2, size_t* hashval=0) const; i2 822 modules/core/include/opencv2/core/mat.inl.hpp uchar* Mat::ptr(int i0, int i1, int i2) i2 827 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)i2 < (unsigned)size.p[2] ); i2 828 modules/core/include/opencv2/core/mat.inl.hpp return data + i0 * step.p[0] + i1 * step.p[1] + i2 * step.p[2]; i2 832 modules/core/include/opencv2/core/mat.inl.hpp const uchar* Mat::ptr(int i0, int i1, int i2) const i2 837 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)i2 < (unsigned)size.p[2] ); i2 838 modules/core/include/opencv2/core/mat.inl.hpp return data + i0 * step.p[0] + i1 * step.p[1] + i2 * step.p[2]; i2 842 modules/core/include/opencv2/core/mat.inl.hpp _Tp* Mat::ptr(int i0, int i1, int i2) i2 847 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)i2 < (unsigned)size.p[2] ); i2 848 modules/core/include/opencv2/core/mat.inl.hpp return (_Tp*)(data + i0 * step.p[0] + i1 * step.p[1] + i2 * step.p[2]); i2 852 modules/core/include/opencv2/core/mat.inl.hpp const _Tp* Mat::ptr(int i0, int i1, int i2) const i2 857 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)i2 < (unsigned)size.p[2] ); i2 858 modules/core/include/opencv2/core/mat.inl.hpp return (const _Tp*)(data + i0 * step.p[0] + i1 * step.p[1] + i2 * step.p[2]); i2 954 modules/core/include/opencv2/core/mat.inl.hpp _Tp& Mat::at(int i0, int i1, int i2) i2 957 modules/core/include/opencv2/core/mat.inl.hpp return *(_Tp*)ptr(i0, i1, i2); i2 961 modules/core/include/opencv2/core/mat.inl.hpp const _Tp& Mat::at(int i0, int i1, int i2) const i2 964 modules/core/include/opencv2/core/mat.inl.hpp return *(const _Tp*)ptr(i0, i1, i2); i2 1566 modules/core/include/opencv2/core/mat.inl.hpp _Tp& Mat_<_Tp>::operator ()(int i0, int i1, int i2) i2 1568 modules/core/include/opencv2/core/mat.inl.hpp return this->at<_Tp>(i0, i1, i2); i2 1572 modules/core/include/opencv2/core/mat.inl.hpp const _Tp& Mat_<_Tp>::operator ()(int i0, int i1, int i2) const i2 1574 modules/core/include/opencv2/core/mat.inl.hpp return this->at<_Tp>(i0, i1, i2); i2 1786 modules/core/include/opencv2/core/mat.inl.hpp size_t SparseMat::hash(int i0, int i1, int i2) const i2 1788 modules/core/include/opencv2/core/mat.inl.hpp return ((size_t)(unsigned)i0 * HASH_SCALE + (unsigned)i1) * HASH_SCALE + (unsigned)i2; i2 1816 modules/core/include/opencv2/core/mat.inl.hpp _Tp& SparseMat::ref(int i0, int i1, int i2, size_t* hashval) i2 1818 modules/core/include/opencv2/core/mat.inl.hpp return *(_Tp*)((SparseMat*)this)->ptr(i0, i1, i2, true, hashval); i2 1842 modules/core/include/opencv2/core/mat.inl.hpp _Tp SparseMat::value(int i0, int i1, int i2, size_t* hashval) const i2 1844 modules/core/include/opencv2/core/mat.inl.hpp const _Tp* p = (const _Tp*)((SparseMat*)this)->ptr(i0, i1, i2, false, hashval); i2 1868 modules/core/include/opencv2/core/mat.inl.hpp const _Tp* SparseMat::find(int i0, int i1, int i2, size_t* hashval) const i2 1870 modules/core/include/opencv2/core/mat.inl.hpp return (const _Tp*)((SparseMat*)this)->ptr(i0, i1, i2, false, hashval); i2 2084 modules/core/include/opencv2/core/mat.inl.hpp _Tp& SparseMat_<_Tp>::ref(int i0, int i1, int i2, size_t* hashval) i2 2086 modules/core/include/opencv2/core/mat.inl.hpp return SparseMat::ref<_Tp>(i0, i1, i2, hashval); i2 2090 modules/core/include/opencv2/core/mat.inl.hpp _Tp SparseMat_<_Tp>::operator()(int i0, int i1, int i2, size_t* hashval) const i2 2092 modules/core/include/opencv2/core/mat.inl.hpp return SparseMat::value<_Tp>(i0, i1, i2, hashval); i2 683 modules/core/src/dxt.cpp T r0, i0, r1, i1, r2, i2, r3, i3, r4, i4; i2 694 modules/core/src/dxt.cpp r2 = v0[0].re; i2 = v0[0].im; i2 697 modules/core/src/dxt.cpp r0 = r2 + r4; i0 = i2 + i4; i2 698 modules/core/src/dxt.cpp r2 -= r4; i2 -= i4; i2 702 modules/core/src/dxt.cpp v0[nx].re = r2 + r3; v0[nx].im = i2 + i3; i2 703 modules/core/src/dxt.cpp v1[nx].re = r2 - r3; v1[nx].im = i2 - i3; i2 711 modules/core/src/dxt.cpp i2 = v0[nx].re*wave[dw*2].im + v0[nx].im*wave[dw*2].re; i2 721 modules/core/src/dxt.cpp r0 = r4 + r2; i0 = i4 + i2; i2 722 modules/core/src/dxt.cpp r2 = r4 - r2; i2 = i4 - i2; i2 726 modules/core/src/dxt.cpp v0[nx].re = r2 + r3; v0[nx].im = i2 + i3; i2 727 modules/core/src/dxt.cpp v1[nx].re = r2 - r3; v1[nx].im = i2 - i3; i2 783 modules/core/src/dxt.cpp T i2 = sin_120*(v[nx*2].re - v[nx].re); i2 786 modules/core/src/dxt.cpp v[nx].re = r0 + r2; v[nx].im = i0 + i2; i2 787 modules/core/src/dxt.cpp v[nx*2].re = r0 - r2; v[nx*2].im = i0 - i2; i2 794 modules/core/src/dxt.cpp i2 = v[nx*2].re*wave[dw*2].re - v[nx*2].im*wave[dw*2].im; i2 796 modules/core/src/dxt.cpp r1 = r0 + i2; i1 = i0 + r2; i2 798 modules/core/src/dxt.cpp r2 = sin_120*(i0 - r2); i2 = sin_120*(i2 - r0); i2 802 modules/core/src/dxt.cpp v[nx].re = r0 + r2; v[nx].im = i0 + i2; i2 803 modules/core/src/dxt.cpp v[nx*2].re = r0 - r2; v[nx*2].im = i0 - i2; i2 818 modules/core/src/dxt.cpp T r0, i0, r1, i1, r2, i2, r3, i3, r4, i4, r5, i5; i2 823 modules/core/src/dxt.cpp i2 = v2[0].re*wave[dw*4].im + v2[0].im*wave[dw*4].re; i2 825 modules/core/src/dxt.cpp r1 = r3 + r2; i1 = i3 + i2; i2 826 modules/core/src/dxt.cpp r3 -= r2; i3 -= i2; i2 833 modules/core/src/dxt.cpp r2 = r4 + r0; i2 = i4 + i0; i2 837 modules/core/src/dxt.cpp r5 = r1 + r2; i5 = i1 + i2; i2 842 modules/core/src/dxt.cpp r1 = fft5_2*(r1 - r2); i1 = fft5_2*(i1 - i2); i2 843 modules/core/src/dxt.cpp r2 = -fft5_3*(i3 + i4); i2 = fft5_3*(r3 + r4); i2 848 modules/core/src/dxt.cpp r5 = r2 + i3; i5 = i2 + r3; i2 849 modules/core/src/dxt.cpp r2 -= i4; i2 -= r4; i2 854 modules/core/src/dxt.cpp v0[nx].re = r3 + r2; v0[nx].im = i3 + i2; i2 855 modules/core/src/dxt.cpp v2[0].re = r3 - r2; v2[0].im = i3 - i2; i2 900 modules/core/src/dxt.cpp T i2 = v[k].re*wave[d].im + v[k].im*wave[d].re; i2 906 modules/core/src/dxt.cpp T i0 = i2 - i1; i2 908 modules/core/src/dxt.cpp i1 = i2 + i1; i2 1461 modules/core/src/matop.cpp bool i1 = isIdentity(e1), i2 = isIdentity(e2); i2 1462 modules/core/src/matop.cpp double alpha1 = i1 ? 1 : e1.alpha, alpha2 = i2 ? 1 : e2.alpha; i2 1464 modules/core/src/matop.cpp if( isMatProd(e1) && (i2 || isScaled(e2) || isT(e2)) ) i2 1478 modules/core/src/matop.cpp bool i1 = isIdentity(e1), i2 = isIdentity(e2); i2 1479 modules/core/src/matop.cpp double alpha1 = i1 ? 1 : e1.alpha, alpha2 = i2 ? 1 : e2.alpha; i2 1481 modules/core/src/matop.cpp if( isMatProd(e1) && (i2 || isScaled(e2) || isT(e2)) ) i2 4964 modules/core/src/matrix.cpp uchar* SparseMat::ptr(int i0, int i1, int i2, bool createMissing, size_t* hashval) i2 4967 modules/core/src/matrix.cpp size_t h = hashval ? *hashval : hash(i0, i1, i2); i2 4974 modules/core/src/matrix.cpp elem->idx[1] == i1 && elem->idx[2] == i2 ) i2 4981 modules/core/src/matrix.cpp int idx[] = { i0, i1, i2 }; i2 5030 modules/core/src/matrix.cpp void SparseMat::erase(int i0, int i1, int i2, size_t* hashval) i2 5033 modules/core/src/matrix.cpp size_t h = hashval ? *hashval : hash(i0, i1, i2); i2 5040 modules/core/src/matrix.cpp elem->idx[1] == i1 && elem->idx[2] == i2 ) i2 713 modules/core/test/test_mat.cpp for (int i2 = 0; i2 < dims[2]; ++i2) { i2 714 modules/core/test/test_mat.cpp Pixel& pixel = a.at<Pixel>(i0, i1, i2); i2 715 modules/core/test/test_mat.cpp if (pixel.x != i0 || pixel.y != i1 || pixel.z != i2) { i2 208 modules/features2d/src/draw.cpp int i2 = matches1to2[m].trainIdx; i2 210 modules/features2d/src/draw.cpp CV_Assert(i2 >= 0 && i2 < static_cast<int>(keypoints2.size())); i2 212 modules/features2d/src/draw.cpp const KeyPoint &kp1 = keypoints1[i1], &kp2 = keypoints2[i2]; i2 237 modules/features2d/src/draw.cpp int i2 = matches1to2[i][j].trainIdx; i2 240 modules/features2d/src/draw.cpp const KeyPoint &kp1 = keypoints1[i1], &kp2 = keypoints2[i2]; i2 304 modules/features2d/src/evaluation.cpp int i2; i2 312 modules/features2d/src/evaluation.cpp bool operator()(const SIdx& v) const { return (v.i1 == used.i1 || v.i2 == used.i2); } i2 341 modules/features2d/src/evaluation.cpp for( size_t i2 = 0; i2 < keypoints2t.size(); i2++ ) i2 343 modules/features2d/src/evaluation.cpp EllipticKeyPoint kp2 = keypoints2t[i2]; i2 370 modules/features2d/src/evaluation.cpp overlaps.push_back(SIdx(ov, (int)i1, (int)i2)); i2 448 modules/features2d/src/evaluation.cpp int x = overlaps[i].i2; i2 67 modules/imgproc/src/approx.cpp int i, j, i1, i2, s, len; i2 155 modules/imgproc/src/approx.cpp i2 = i + k; i2 156 modules/imgproc/src/approx.cpp i2 -= i2 >= len ? len : 0; i2 158 modules/imgproc/src/approx.cpp dx = array[i2].pt.x - array[i1].pt.x; i2 159 modules/imgproc/src/approx.cpp dy = array[i2].pt.y - array[i1].pt.y; i2 189 modules/imgproc/src/approx.cpp i2 = i + j; i2 190 modules/imgproc/src/approx.cpp i2 -= i2 >= len ? len : 0; i2 194 modules/imgproc/src/approx.cpp dx2 = array[i2].pt.x - pt0.x; i2 195 modules/imgproc/src/approx.cpp dy2 = array[i2].pt.y - pt0.y; i2 233 modules/imgproc/src/approx.cpp i2 = i - j; i2 234 modules/imgproc/src/approx.cpp i2 += i2 < 0 ? len : 0; i2 236 modules/imgproc/src/approx.cpp if( array[i2].s > s ) i2 239 modules/imgproc/src/approx.cpp i2 = i + j; i2 240 modules/imgproc/src/approx.cpp i2 -= i2 >= len ? len : 0; i2 242 modules/imgproc/src/approx.cpp if( array[i2].s > s ) i2 273 modules/imgproc/src/approx.cpp i2 = i + 1; i2 274 modules/imgproc/src/approx.cpp i2 -= i2 >= len ? len : 0; i2 276 modules/imgproc/src/approx.cpp if( s <= array[i1].s || s <= array[i2].s ) i2 307 modules/imgproc/src/approx.cpp for( i2 = len - 2; i2 > 0 && array[i2].s != 0; i2-- ) i2 309 modules/imgproc/src/approx.cpp array[i2].next = 0; i2 310 modules/imgproc/src/approx.cpp array[i2 + 1].s = 0; i2 312 modules/imgproc/src/approx.cpp i2++; i2 314 modules/imgproc/src/approx.cpp if( i1 == 0 && i2 == len - 1 ) /* only two points */ i2 457 modules/imgproc/src/distransform.cpp int i, i1 = range.start, i2 = range.end; i2 463 modules/imgproc/src/distransform.cpp for( i = i1; i < i2; i++ ) i2 503 modules/imgproc/src/distransform.cpp int i, i1 = range.start, i2 = range.end; i2 510 modules/imgproc/src/distransform.cpp for( i = i1; i < i2; i++ ) i2 1236 modules/imgproc/src/lsd.cpp uchar i2 = I2.ptr()[i]; i2 1237 modules/imgproc/src/lsd.cpp if (i1 || i2) i2 1243 modules/imgproc/src/lsd.cpp if (i2) img.ptr()[base_idx + 2] = 255; i2 101 modules/ml/src/kdtree.cpp int i0 = a, i1 = (a+b)/2, i2 = b; i2 102 modules/ml/src/kdtree.cpp float v0 = vals[ofs[i0]], v1 = vals[ofs[i1]], v2 = vals[ofs[i2]]; i2 103 modules/ml/src/kdtree.cpp int ip = v0 < v1 ? (v1 < v2 ? i1 : v0 < v2 ? i2 : i0) : i2 104 modules/ml/src/kdtree.cpp v0 < v2 ? i0 : (v1 < v2 ? i2 : i1); i2 106 modules/ml/src/kdtree.cpp std::swap(ofs[ip], ofs[i2]); i2 108 modules/ml/src/kdtree.cpp for( i1 = i0, i0--; i1 <= i2; i1++ ) i2 98 modules/ml/src/rtrees.cpp int i2 = rng.uniform(0, nvars); i2 99 modules/ml/src/rtrees.cpp std::swap(allVars[i1], allVars[i2]); i2 246 modules/ml/src/rtrees.cpp int i2 = rng.uniform(0, n_oob); i2 247 modules/ml/src/rtrees.cpp std::swap(i1, i2); i2 1711 modules/ml/src/svm.cpp int i2 = rng.uniform(0, sample_count); i2 1712 modules/ml/src/svm.cpp std::swap(sidx[i1], sidx[i2]); i2 1744 modules/ml/src/svm.cpp int i2 = rng.uniform(a, b); i2 1745 modules/ml/src/svm.cpp std::swap(sidx[i1], sidx[i2]); i2 739 modules/ml/src/tree.cpp int i2 = r.uniform(0, n); i2 740 modules/ml/src/tree.cpp std::swap( labels[i1], labels[i2] ); i2 635 modules/ml/test/test_emknearestkmeans.cpp int i2 = rng(static_cast<unsigned>(trainSamplesMask.size())); i2 636 modules/ml/test/test_emknearestkmeans.cpp std::swap(trainSamplesMask[i1], trainSamplesMask[i2]); i2 1584 modules/objdetect/src/hog.cpp int i, i1 = range.start, i2 = range.end; i2 1585 modules/objdetect/src/hog.cpp double minScale = i1 > 0 ? levelScale[i1] : i2 > 1 ? levelScale[i1+1] : std::max(img.cols, img.rows); i2 1591 modules/objdetect/src/hog.cpp for( i = i1; i < i2; i++ ) i2 3288 modules/objdetect/src/hog.cpp int i, i1 = range.start, i2 = range.end; i2 3294 modules/objdetect/src/hog.cpp for( i = i1; i < i2; i++ ) i2 124 modules/photo/src/arrays.hpp inline T* row_ptr(int i1, int i2) i2 126 modules/photo/src/arrays.hpp return a + i1*n2*n3 + i2*n3; i2 171 modules/photo/src/arrays.hpp inline T* row_ptr(int i1, int i2, int i3) i2 173 modules/photo/src/arrays.hpp return a + i1*n2*n3*n4 + i2*n3*n4 + i3*n4; i2 166 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp static inline int calcDist(const Mat& m, int i1, int j1, int i2, int j2) i2 169 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp const T b = m.at<T>(i2, j2); i2 288 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp static inline int calcDist(const Mat& m, int i1, int j1, int i2, int j2) i2 291 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp const T b = m.at<T>(i2, j2); i2 212 modules/photo/src/inpaint.cpp static float FastMarching_solve(int i1,int j1,int i2,int j2, const CvMat* f, const CvMat* t) i2 216 modules/photo/src/inpaint.cpp a22=CV_MAT_ELEM(*t,float,i2,j2); i2 220 modules/photo/src/inpaint.cpp if( CV_MAT_ELEM(*f,uchar,i2,j2) != INSIDE ) i2 227 modules/photo/src/inpaint.cpp else if( CV_MAT_ELEM(*f,uchar,i2,j2) != INSIDE ) i2 145 modules/shape/src/emdL1.cpp for(int i2=0; i2<binsDim2; i2++) i2 147 modules/shape/src/emdL1.cpp m_3dNodes[i1][i2].resize(binsDim3); i2 148 modules/shape/src/emdL1.cpp m_3dEdgesUp[i1][i2].resize(binsDim3); i2 149 modules/shape/src/emdL1.cpp m_3dEdgesRight[i1][i2].resize(binsDim3); i2 150 modules/shape/src/emdL1.cpp m_3dEdgesDeep[i1][i2].resize(binsDim3); i2 332 modules/shape/src/emdL1.cpp int i1,i2,i3; i2 337 modules/shape/src/emdL1.cpp for(i2=0; i2<binsDim2; i2++) i2 339 modules/shape/src/emdL1.cpp D[i1][i2].resize(binsDim3); i2 341 modules/shape/src/emdL1.cpp D[i1][i2][i3] = m_3dNodes[i1][i2][i3].d; i2 351 modules/shape/src/emdL1.cpp for(i2=0; i2<binsDim2; i2++) i2 354 modules/shape/src/emdL1.cpp d1s[i1+1] -= D[i1][i2][i3]; i2 360 modules/shape/src/emdL1.cpp for(i2=0; i2<binsDim2-1; i2++) i2 362 modules/shape/src/emdL1.cpp d2s[i2+1] = d2s[i2]; i2 366 modules/shape/src/emdL1.cpp d2s[i2+1] -= D[i1][i2][i3]; i2 377 modules/shape/src/emdL1.cpp for(i2=0; i2<binsDim2; i2++) i2 378 modules/shape/src/emdL1.cpp d3s[i3+1] -= D[i1][i2][i3]; i2 388 modules/shape/src/emdL1.cpp for(i2=0; i2<binsDim2; i2++) i2 392 modules/shape/src/emdL1.cpp if(i3==binsDim3-1 && i2==binsDim2-1 && i1==binsDim1-1) break; i2 395 modules/shape/src/emdL1.cpp dFlow = D[i1][i2][i3]; i2 397 modules/shape/src/emdL1.cpp f2 = (i2<(binsDim2-1))?fabs(dFlow+d2s[i2+1]):std::numeric_limits<float>::max(); i2 402 modules/shape/src/emdL1.cpp pBV = &(m_3dEdgesUp[i1][i2][i3]); // up i2 403 modules/shape/src/emdL1.cpp if(i2<binsDim2-1) m_NBVEdges[nNBV++] = &(m_3dEdgesRight[i1][i2][i3]); // right i2 404 modules/shape/src/emdL1.cpp if(i3<binsDim3-1) m_NBVEdges[nNBV++] = &(m_3dEdgesDeep[i1][i2][i3]); // deep i2 405 modules/shape/src/emdL1.cpp D[i1+1][i2][i3] += dFlow; // maintain auxilary matrix i2 410 modules/shape/src/emdL1.cpp pBV = &(m_3dEdgesRight[i1][i2][i3]); // right i2 411 modules/shape/src/emdL1.cpp if(i1<binsDim1-1) m_NBVEdges[nNBV++] = &(m_3dEdgesUp[i1][i2][i3]); // up i2 412 modules/shape/src/emdL1.cpp if(i3<binsDim3-1) m_NBVEdges[nNBV++] = &(m_3dEdgesDeep[i1][i2][i3]); // deep i2 413 modules/shape/src/emdL1.cpp D[i1][i2+1][i3] += dFlow; // maintain auxilary matrix i2 414 modules/shape/src/emdL1.cpp d2s[i2+1] += dFlow; i2 418 modules/shape/src/emdL1.cpp pBV = &(m_3dEdgesDeep[i1][i2][i3]); // deep i2 419 modules/shape/src/emdL1.cpp if(i2<binsDim2-1) m_NBVEdges[nNBV++] = &(m_3dEdgesRight[i1][i2][i3]); // right i2 420 modules/shape/src/emdL1.cpp if(i1<binsDim1-1) m_NBVEdges[nNBV++] = &(m_3dEdgesUp[i1][i2][i3]); // up i2 421 modules/shape/src/emdL1.cpp D[i1][i2][i3+1] += dFlow; // maintain auxilary matrix i2 275 modules/ts/src/cuda_perf.cpp bool operator ()(size_t i1, size_t i2) const i2 278 modules/ts/src/cuda_perf.cpp cv::KeyPoint kp2 = (*keypoints)[i2]; i2 198 modules/viz/src/vtk/vtkOBJWriter.cpp for (int i = 2, i1, i2; i < npts; ++i) i2 203 modules/viz/src/vtk/vtkOBJWriter.cpp i2 = i - 2; i2 208 modules/viz/src/vtk/vtkOBJWriter.cpp i2 = i - 2; i2 216 modules/viz/src/vtk/vtkOBJWriter.cpp << index[i2]+ idStart << "/" << index[i2] + idStart << "/" << index[i2] + idStart << " " i2 221 modules/viz/src/vtk/vtkOBJWriter.cpp outfile << "f " << index[i1] + idStart << "//" << index[i1] + idStart << " " << index[i2] + idStart i2 222 modules/viz/src/vtk/vtkOBJWriter.cpp << "//" << index[i2] + idStart << " " << index[i] + idStart << "//" << index[i] + idStart << std::endl; i2 229 modules/viz/src/vtk/vtkOBJWriter.cpp outfile << "f " << index[i1] + idStart << "/" << index[i1] + idStart << " " << index[i2] + idStart i2 230 modules/viz/src/vtk/vtkOBJWriter.cpp << "/" << index[i2] + idStart << " " << index[i] + idStart << "/" << index[i] + idStart << std::endl; i2 233 modules/viz/src/vtk/vtkOBJWriter.cpp outfile << "f " << index[i1] + idStart << " " << index[i2] + idStart << " " << index[i] + idStart << std::endl; i2 157 samples/cpp/tutorial_code/HighGUI/video-input-psnr-ssim/video-input-psnr-ssim.cpp Scalar getMSSIM( const Mat& i1, const Mat& i2) i2 165 samples/cpp/tutorial_code/HighGUI/video-input-psnr-ssim/video-input-psnr-ssim.cpp i2.convertTo(I2, d); i2 51 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp Scalar getMSSIM_CUDA_optimized( const Mat& i1, const Mat& i2, BufferMSSIM& b); i2 249 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp Scalar getMSSIM( const Mat& i1, const Mat& i2) i2 257 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp i2.convertTo(I2, d); i2 304 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp Scalar getMSSIM_CUDA( const Mat& i1, const Mat& i2) i2 311 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp gI2.upload(i2); i2 375 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp Scalar getMSSIM_CUDA_optimized( const Mat& i1, const Mat& i2, BufferMSSIM& b) i2 381 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp b.gI2.upload(i2);