Home
last modified time | relevance | path

Searched refs:ncols (Results 1 – 14 of 14) sorted by relevance

/external/opencv3/modules/cudaimgproc/src/
Dmssegmentation.cpp199 inline int pix(int y, int x, int ncols) in pix() argument
201 return y * ncols + x; in pix()
232 const int ncols = src.cols; in meanShiftSegmentation() local
245 Graph<SegmLinkVal> g(nrows * ncols, 4 * (nrows - 1) * (ncols - 1) in meanShiftSegmentation()
246 + (nrows - 1) + (ncols - 1)); in meanShiftSegmentation()
261 for (int x = 0; x < ncols - 1; ++x) in meanShiftSegmentation()
289 g.addEdge(pix(y, x, ncols), pix(y, x + 1, ncols), SegmLinkVal(dr[0], dsp[0])); in meanShiftSegmentation()
290 g.addEdge(pix(y, x, ncols), pix(y + 1, x, ncols), SegmLinkVal(dr[1], dsp[1])); in meanShiftSegmentation()
291 g.addEdge(pix(y, x, ncols), pix(y + 1, x + 1, ncols), SegmLinkVal(dr[2], dsp[2])); in meanShiftSegmentation()
292 g.addEdge(pix(y, x + 1, ncols), pix(y + 1, x, ncols), SegmLinkVal(dr[3], dsp[3])); in meanShiftSegmentation()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DBigMatrixImpl.java758 final int ncols = this.getColumnDimension(); in getRowMatrix() local
759 final BigDecimal[][] out = new BigDecimal[1][ncols]; in getRowMatrix()
760 System.arraycopy(data[row], 0, out[0], 0, ncols); in getRowMatrix()
794 final int ncols = this.getColumnDimension(); in getRow() local
795 final BigDecimal[] out = new BigDecimal[ncols]; in getRow()
796 System.arraycopy(data[row], 0, out, 0, ncols); in getRow()
813 final int ncols = this.getColumnDimension(); in getRowAsDoubleArray() local
814 final double[] out = new double[ncols]; in getRowAsDoubleArray()
815 for (int i=0;i<ncols;i++) { in getRowAsDoubleArray()
/external/opencv3/modules/video/src/
Dbgfg_gaussmix2.cpp555 int ncols = src->cols, nchannels = src->channels(); in operator ()() local
564 src->row(y).convertTo(Mat(1, ncols, CV_32FC(nchannels), (void*)data), CV_32F); in operator ()()
568 float* mean = mean0 + ncols*nmixtures*nchannels*y; in operator ()()
569 GMM* gmm = gmm0 + ncols*nmixtures*y; in operator ()()
570 uchar* modesUsed = modesUsed0 + ncols*y; in operator ()()
573 … for( int x = 0; x < ncols; x++, data += nchannels, gmm += nmixtures, mean += nmixtures*nchannels ) in operator ()()
/external/opencv3/doc/py_tutorials/py_imgproc/py_transforms/py_fourier_transform/
Dpy_fourier_transform.markdown193 In [20]: ncols = cv2.getOptimalDFTSize(cols)
194 In [21]: print nrows, ncols
201 nimg = np.zeros((nrows,ncols))
206 right = ncols - cols
215 In [23]: %timeit fft2 = np.fft.fft2(img,[nrows,ncols])
/external/opencv3/modules/videostab/src/
Dglobal_motion.cpp555 int ncols = 6 + 2*npoints; in estimate() local
568 obj_.assign(ncols, 0); in estimate()
569 collb_.assign(ncols, -INF); in estimate()
570 colub_.assign(ncols, INF); in estimate()
630 A.setDimensions(nrows, ncols); in estimate()
Dmotion_stabilizing.cpp154 int ncols = 4*N + 6*(N-1) + 6*(N-2) + 6*(N-3); in stabilize() local
161 obj_.assign(ncols, 0); in stabilize()
162 collb_.assign(ncols, -INF); in stabilize()
163 colub_.assign(ncols, INF); in stabilize()
521 A.setDimensions(nrows, ncols); in stabilize()
/external/opencv3/modules/imgproc/src/
Dphasecorr.cpp63 int ncols = cols*cn; in magSpectrums() local
65 int j1 = ncols - (cols % 2 == 0 && cn == 1); in magSpectrums()
176 int ncols = cols*cn; in divSpectrums() local
178 int j1 = ncols - (cols % 2 == 0 && cn == 1); in divSpectrums()
/external/opencv3/modules/core/test/
Dtest_math.cpp219 int ncols = a.cols*a.channels(); in prepare_to_validation() local
232 for( j = 0; j < ncols; j++ ) in prepare_to_validation()
239 for( j = 0; j < ncols; j++ ) in prepare_to_validation()
248 for( j = 0; j < ncols; j++ ) in prepare_to_validation()
256 for( j = 0; j < ncols; j++ ) in prepare_to_validation()
265 for( j = 0; j < ncols; j++ ) in prepare_to_validation()
273 for( j = 0; j < ncols; j++ ) in prepare_to_validation()
282 for( j = 0; j < ncols; j++ ) in prepare_to_validation()
290 for( j = 0; j < ncols; j++ ) in prepare_to_validation()
299 for( j = 0; j < ncols; j++ ) in prepare_to_validation()
[all …]
/external/llvm/lib/Support/
Dregcomp.c1265 int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT; in isinsets() local
1268 for (i = 0, col = g->setbits; i < ncols; i++, col += g->csetsize) in isinsets()
1282 int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT; in samesets() local
1286 for (i = 0, col = g->setbits; i < ncols; i++, col += g->csetsize) in samesets()
/external/opencv3/modules/imgproc/test/
Dtest_filter.cpp1128 size_t ncols = dst.cols*elem_size; in prepare_to_validation() local
1135 for( size_t j = 0; j < ncols; j += elem_size ) in prepare_to_validation()
1174 size_t ncols = src.cols*elem_size; in prepare_to_validation() local
1183 for( size_t j = 0; j < ncols; j += elem_size ) in prepare_to_validation()
/external/pdfium/core/src/fxge/ge/
Dfx_ge_text.cpp394 int ncols = pGlyph->GetWidth(); in DrawNormalText() local
397 if (!bitmap.CompositeMask(left, top, ncols, nrows, pGlyph, fill_color, 0, in DrawNormalText()
406 ncols /= 3; in DrawNormalText()
414 int end_col = left + ncols; in DrawNormalText()
/external/opencv/cxcore/src/
Dcxdxt.cpp2219 int j, j0, j1, k, rows, cols, ncols; in cvMulSpectrums() local
2246 ncols = cols*cn; in cvMulSpectrums()
2248 j1 = ncols - (cols % 2 == 0 && cn == 1); in cvMulSpectrums()
/external/opencv3/modules/ts/src/
Dts_func.cpp2654 int j, ncols = mat.cols * mat.channels(); in patchZeros() local
2663 for( j = 0; j < ncols; j++ ) in patchZeros()
2670 for( j = 0; j < ncols; j++ ) in patchZeros()
/external/opencv3/modules/core/src/
Ddxt.cpp2970 int ncols = cols*cn; in mulSpectrums() local
2972 int j1 = ncols - (cols % 2 == 0 && cn == 1); in mulSpectrums()