Searched refs:cellSize (Results 1 - 25 of 37) sorted by relevance

12

/external/opencv3/modules/hal/include/opencv2/
H A Dhal.hpp69 int normHamming(const uchar* a, int n, int cellSize);
70 int normHamming(const uchar* a, const uchar* b, int n, int cellSize);
/external/opencv3/modules/videostab/include/opencv2/videostab/
H A Doutlier_rejection.hpp80 Size cellSize() const { return cellSize_; } function in class:cv::videostab::TranslationBasedLocalOutlierRejector
/external/opencv3/modules/hal/src/
H A Dstat.cpp139 int normHamming(const uchar* a, int n, int cellSize) argument
141 if( cellSize == 1 )
144 if( cellSize == 2 )
146 else if( cellSize == 4 )
161 int normHamming(const uchar* a, const uchar* b, int n, int cellSize) argument
163 if( cellSize == 1 )
166 if( cellSize == 2 )
168 else if( cellSize == 4 )
/external/opencv3/samples/cpp/
H A Dtrain_HOG.cpp142 int cellSize = 8; local
147 int cells_in_x_dir = DIMX / cellSize;
148 int cells_in_y_dir = DIMY / cellSize;
236 int drawX = cellx * cellSize;
237 int drawY = celly * cellSize;
239 int mx = drawX + cellSize/2;
240 int my = drawY + cellSize/2;
242 rectangle(visu, Point((int)(drawX*zoomFac), (int)(drawY*zoomFac)), Point((int)((drawX+cellSize)*zoomFac), (int)((drawY+cellSize)*zoomFac)), Scalar(100,100,100), 1);
257 float maxVecLen = (float)(cellSize/
[all...]
/external/opencv3/modules/cudaimgproc/src/
H A Dhough_circles.cpp222 const int cellSize = cvRound(minDist_);
223 const int gridWidth = (src.cols + cellSize - 1) / cellSize;
224 const int gridHeight = (src.rows + cellSize - 1) / cellSize;
248 int xCell = static_cast<int>(p.x / cellSize);
249 int yCell = static_cast<int>(p.y / cellSize);
H A Dgeneralized_hough.cpp359 const int cellSize = cvRound(minDist_);
360 const int gridWidth = (imageSize_.width + cellSize - 1) / cellSize;
361 const int gridHeight = (imageSize_.height + cellSize - 1) / cellSize;
375 const int xCell = static_cast<int>(p.x / cellSize);
376 const int yCell = static_cast<int>(p.y / cellSize);
/external/skia/src/images/
H A DSkScaledBitmapSampler.h19 SkScaledBitmapSampler(int origWidth, int origHeight, int cellSize);
/external/deqp/modules/gles3/functional/
H A Des3fFboColorbufferTests.cpp834 const int cellSize = 16; local
835 const int fboSizes[] = { cellSize, cellSize*numRowsCols };
878 glViewport(cellX*cellSize, cellY*cellSize, cellSize, cellSize);
906 const int cellSize = 16; local
907 const int fboSizes[] = { cellSize, cellSize*numRowsCol
972 const int cellSize = 16; local
[all...]
H A Des3fTextureSpecificationTests.cpp990 int cellSize = de::max(1, de::min(levelW >> 2, levelH >> 2)); local
993 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize, colorA, colorB); local
1046 int cellSize = de::max(1, levelSize >> 2); local
1049 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, levelSize, levelSize, 1, rowPitch, 0, &data[0]), cellSize, colorA, colorB); local
1252 int cellSize = rnd.getInt(2, 16); local
1255 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB);
1331 int cellSize = rnd.getInt(2, 16); local
1334 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB);
1480 int cellSize = rnd.getInt(2, 16); local
1483 tcu::fillWithGrid(data.getAccess(), cellSize, color
2003 int cellSize = rnd.getInt(2, 16); local
2080 int cellSize = rnd.getInt(2, 16); local
3163 const int cellSize = rnd.getInt(2, 16); local
3235 const int cellSize = rnd.getInt(2, 16); local
[all...]
/external/skia/samplecode/
H A DSampleAtlas.cpp42 static SkImage* make_atlas(int atlasSize, int cellSize) { argument
51 const SkScalar half = cellSize * SK_ScalarHalf;
56 for (int y = 0; y < atlasSize; y += cellSize) {
57 for (int x = 0; x < atlasSize; x += cellSize) {
/external/opencv3/modules/imgproc/src/
H A Dgeneralized_hough.cpp236 const int cellSize = cvRound(minDist_); local
237 const int gridWidth = (imageSize_.width + cellSize - 1) / cellSize;
238 const int gridHeight = (imageSize_.height + cellSize - 1) / cellSize;
252 const int xCell = static_cast<int>(p.x / cellSize);
253 const int yCell = static_cast<int>(p.y / cellSize);
/external/opencv3/modules/objdetect/include/opencv2/
H A Dobjdetect.hpp346 cellSize(8,8), nbins(9), derivAperture(1), winSigma(-1),
356 : winSize(_winSize), blockSize(_blockSize), blockStride(_blockStride), cellSize(_cellSize),
424 CV_PROP Size cellSize; member in struct:cv::HOGDescriptor
/external/deqp/framework/common/
H A DtcuTextureUtil.cpp861 static void fillWithGrid1D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB)
865 int mx = (x / cellSize) % 2;
874 static void fillWithGrid2D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB)
880 int mx = (x / cellSize) % 2;
881 int my = (y / cellSize) % 2;
891 static void fillWithGrid3D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB)
899 int mx = (x / cellSize) % 2;
900 int my = (y / cellSize) % 2;
901 int mz = (z / cellSize) % 2;
912 void fillWithGrid (const PixelBufferAccess& access, int cellSize, cons
[all...]
H A DtcuTextureUtil.hpp119 void fillWithGrid (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB);
/external/deqp/modules/gles2/accuracy/
H A Des2aTextureFilteringTests.cpp519 const int cellSize = 28; local
520 const int defViewportWidth = cellSize*6;
521 const int defViewportHeight = cellSize*4;
522 RandomViewport viewport (m_renderCtx.getRenderTarget(), cellSize*6, cellSize*4, deStringHash(getName()));
/external/deqp/modules/gles3/accuracy/
H A Des3aTextureFilteringTests.cpp529 const int cellSize = 28; local
530 const int defViewportWidth = cellSize*6;
531 const int defViewportHeight = cellSize*4;
532 RandomViewport viewport (m_renderCtx.getRenderTarget(), cellSize*6, cellSize*4, deStringHash(getName()));
/external/deqp/modules/gles2/functional/
H A Des2fTextureSpecificationTests.cpp844 int cellSize = de::max(1, de::min(levelW >> 2, levelH >> 2)); local
847 tcu::fillWithGrid(tcu::PixelBufferAccess(fmt, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize, colorA, colorB); local
891 int cellSize = de::max(1, de::min(levelW >> 2, levelH >> 2)); local
894 tcu::fillWithGrid(tcu::PixelBufferAccess(fmt, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize, colorA, colorB); local
957 int cellSize = rnd.getInt(2, 16); local
960 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB);
1029 int cellSize = rnd.getInt(2, 16); local
1032 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB);
1409 int cellSize = rnd.getInt(2, 16); local
1412 tcu::fillWithGrid(data.getAccess(), cellSize, color
1489 int cellSize = rnd.getInt(2, 16); local
[all...]
H A Des2fFboRenderTest.cpp1997 const int cellSize = 16; local
1998 const int fboSizes[] = { cellSize, cellSize*numRowsCols };
2050 ctx.viewport(cellX*cellSize, cellY*cellSize, cellSize, cellSize);
/external/opencv3/modules/objdetect/test/
H A Dtest_cascadeandhog.cpp661 Size cellSize = descriptor->cellSize; local
667 ncells = Size(blockSize.width/cellSize.width, blockSize.height/cellSize.height);
726 float cellX = (j+0.5f)/cellSize.width - 0.5f;
727 float cellY = (i+0.5f)/cellSize.height - 0.5f;
1014 winStride = cellSize;
1116 winStride = cellSize;
/external/opencv3/modules/objdetect/src/
H A Dhog.cpp89 CV_Assert(blockSize.width % cellSize.width == 0 &&
90 blockSize.height % cellSize.height == 0);
95 (blockSize.width/cellSize.width)*
96 (blockSize.height/cellSize.height)*
121 size_t block_hist_size = getBlockHistogramSize(blockSize, cellSize, nbins);
149 it = obj["cellSize"].begin();
150 it >> cellSize.width >> cellSize.height;
181 << "cellSize" << cellSize
557 Size cellSize = descriptor->cellSize; local
1326 ocl_compute(InputArray _img, Size win_stride, std::vector<float>& _descriptors, int descr_format, Size blockSize, Size cellSize, int nbins, Size blockStride, Size winSize, float sigma, bool gammaCorrection, double L2HysThreshold, bool signedGradient) argument
1724 ocl_detect(InputArray img, std::vector<Point> &hits, double hit_threshold, Size win_stride, const UMat& oclSvmDetector, Size blockSize, Size cellSize, int nbins, Size blockStride, Size winSize, bool gammaCorrection, double L2HysThreshold, float sigma, float free_coef, bool signedGradient) argument
1792 ocl_detectMultiScale(InputArray _img, std::vector<Rect> &found_locations, std::vector<double>& level_scale, double hit_threshold, Size win_stride, double group_threshold, const UMat& oclSvmDetector, Size blockSize, Size cellSize, int nbins, Size blockStride, Size winSize, bool gammaCorrection, double L2HysThreshold, float sigma, float free_coef, bool signedGradient) argument
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fStencilTexturingTests.cpp816 const int cellSize = 8; local
838 for (int y = 0; y < height; y += cellSize)
840 for (int x = 0; x < width; x += cellSize)
842 const int clearW = de::min(cellSize, width-x);
843 const int clearH = de::min(cellSize, height-y);
H A Des31fDrawTests.cpp1281 << " const float cellSize = 2.0 / float(gridSize);\n"
1285 << " attribs[((y * gridSize + x) * 6u + 1u) * 2u + 0u] = vec4(posX + cellSize, posY, 0.0, 1.0);\n"
1286 << " attribs[((y * gridSize + x) * 6u + 2u) * 2u + 0u] = vec4(posX + cellSize, posY + cellSize, 0.0, 1.0);\n"
1288 << " attribs[((y * gridSize + x) * 6u + 4u) * 2u + 0u] = vec4(posX + cellSize, posY + cellSize, 0.0, 1.0);\n"
1289 << " attribs[((y * gridSize + x) * 6u + 5u) * 2u + 0u] = vec4(posX, posY + cellSize, 0.0, 1.0);\n"
1415 const float cellSize = 2.0f / (float)m_gridSize;
1419 buffer[((y * m_gridSize + x) * 6 + 1) * 2 + 0] = tcu::Vec4(posX + cellSize, posY, 0.0f, 1.0f);
1420 buffer[((y * m_gridSize + x) * 6 + 2) * 2 + 0] = tcu::Vec4(posX + cellSize, pos
[all...]
H A Des31fTextureSpecificationTests.cpp688 const int cellSize = rnd.getInt(2, 16); local
691 tcu::fillWithGrid(levelData.getAccess(), cellSize, colorA, colorB);
/external/svox/pico/lib/
H A Dpicoos.c511 picoos_objsize_t cellSize; local
521 cellSize = byteSize + this->usedCellHdrSize;
522 /*PICODBG_TRACE(("allocating %d", cellSize));*/
526 (c->size != (picoos_ptrdiff_t) cellSize) &&
527 (c->size < (picoos_ptrdiff_t)(cellSize+ this->minCellSize))) {
533 if ((c->size == (picoos_ptrdiff_t) cellSize)) {
537 c2 = (MemCellHdr)((picoos_objsize_t)c + cellSize);
538 c2->size = c->size - cellSize;
539 c->size = cellSize;
550 this->usedSize += cellSize;
[all...]
/external/opencv3/modules/ts/src/
H A Dts_func.cpp1111 normHamming(const uchar* src, size_t total, int cellSize)
1114 int mask = cellSize == 1 ? 1 : cellSize == 2 ? 3 : cellSize == 4 ? 15 : -1;
1120 for( ; a != 0; a >>= cellSize )
1262 int cellSize = normType == NORM_HAMMING ? 1 : 2;
1265 result += normHamming(planes[0].ptr(), total, cellSize);
1343 int cellSize = normType == NORM_HAMMING ? 1 : 2;
1346 result += normHamming(planes[0].ptr(), total, cellSize);

Completed in 1099 milliseconds

12