/external/opencv/cvaux/src/ |
H A D | cvbgfg_codebook.cpp | 87 CvRect roi, const CvArr* _mask ) 103 if( roi.x == 0 && roi.y == 0 && roi.width == 0 && roi.height == 0 ) 105 roi.width = image->cols; 106 roi.height = image->rows; 109 CV_ASSERT( (unsigned)roi.x < (unsigned)image->cols && 110 (unsigned)roi.y < (unsigned)image->rows && 111 roi 86 cvBGCodeBookUpdate( CvBGCodeBookModel* model, const CvArr* _image, CvRect roi, const CvArr* _mask ) argument 294 cvBGCodeBookClearStale( CvBGCodeBookModel* model, int staleThresh, CvRect roi, const CvArr* _mask ) argument [all...] |
H A D | cvcreatehandmask.cpp | 54 CvSize size, CvRect * roi ) 93 roi->x = j_min; 94 roi->y = i_min; 95 roi->width = j_max - j_min + 1; 96 roi->height = i_max - i_min + 1; 111 // roi - result hand mask ROI 116 cvCreateHandMask( CvSeq * numbers, IplImage * img_mask, CvRect * roi ) 135 img_mask_step, img_mask_size, roi ));
|
H A D | cvhmmobs.cpp | 51 // roi - width and height of ROI in pixels 68 // Nx = floor((roi.width - dctSize.width + delta.width)/delta.width); 69 // Ny = floor((roi.height - dctSize.height + delta.height)/delta.height); 117 icvImgToObs_DCT_8u32f_C1R( uchar * img, int imgStep, CvSize roi, argument 142 if( roi.width <= 0 || roi.height <= 0 ) 155 Nx = (roi.width - dctSize.width + delta.width) / delta.width; 156 Ny = (roi.height - dctSize.height + delta.height) / delta.height; 161 buffer = (work_t *)cvAlloc( roi.width * obsSize.height * sizeof( buffer[0] )); 168 buf_limit = buffer + obsSize.height * roi 312 icvImgToObs_DCT_32f_C1R( float * img, int imgStep, CvSize roi, float *obs, CvSize dctSize, CvSize obsSize, CvSize delta ) argument [all...] |
/external/libvpx/libvpx/examples/ |
H A D | set_maps.c | 67 vpx_roi_map_t roi; local 68 memset(&roi, 0, sizeof(roi)); 70 roi.rows = (cfg->g_h + 15) / 16; 71 roi.cols = (cfg->g_w + 15) / 16; 73 roi.delta_q[0] = 0; 74 roi.delta_q[1] = -2; 75 roi.delta_q[2] = -4; 76 roi.delta_q[3] = -6; 78 roi [all...] |
/external/opencv/cv/src/ |
H A D | cvthresh.cpp | 46 CvSize roi, uchar thresh, uchar maxval, int type ) 87 for( i = 0; i < roi.height; i++, src += src_step, dst += dst_step ) 89 for( j = 0; j <= roi.width - 4; j += 4 ) 104 for( ; j < roi.width; j++ ) 114 CvSize roi, float thresh, float maxval, int type ) 131 for( i = 0; i < roi.height; i++, isrc += src_step, idst += dst_step ) 133 for( j = 0; j < roi.width; j++ ) 142 for( i = 0; i < roi.height; i++, isrc += src_step, idst += dst_step ) 144 for( j = 0; j < roi.width; j++ ) 153 for( i = 0; i < roi 45 icvThresh_8u_C1R( const uchar* src, int src_step, uchar* dst, int dst_step, CvSize roi, uchar thresh, uchar maxval, int type ) argument 113 icvThresh_32f_C1R( const float *src, int src_step, float *dst, int dst_step, CvSize roi, float thresh, float maxval, int type ) argument 305 CvSize roi; local [all...] |
H A D | cvsnakes.cpp | 55 // roi - size of ROI, 73 CvSize roi, 102 int map_width = ((roi.width - 1) >> 3) + 1; 103 int map_height = ((roi.height - 1) >> 3) + 1; 110 CvMat _src = cvMat( roi.height, roi.width, CV_8UC1, src ); 121 if( (roi.height <= 0) || (roi.width <= 0) ) 123 if( srcStep < roi.width ) 149 gradient = (float *) cvAlloc( roi 71 icvSnake8uC1R( unsigned char *src, int srcStep, CvSize roi, CvPoint * pt, int n, float *alpha, float *beta, float *gamma, int coeffUsage, CvSize win, CvTermCriteria criteria, int scheme ) argument [all...] |
H A D | cvpyrsegmentation.cpp | 183 CvSize roi, CvFilter filter, 220 if( roi.width <= 0 || roi.height <= 0 || src_step < roi.width || dst_step < roi.width ) 229 if( ((roi.width | roi.height) & ((1 << level) - 1)) != 0 ) 243 buffer_size = roi.width * roi.height * (sizeof( float ) + sizeof( _CvPyramidBase )); 246 buffer_size += ((roi 181 icvPyrSegmentation8uC1R( uchar * src_image, int src_step, uchar * dst_image, int dst_step, CvSize roi, CvFilter filter, CvSeq ** dst_comp, CvMemStorage * storage, int level, int threshold1, int threshold2 ) argument 594 icvPyrSegmentation8uC3R( uchar * src_image, int src_step, uchar * dst_image, int dst_step, CvSize roi, CvFilter filter, CvSeq ** dst_comp, CvMemStorage * storage, int level, int threshold1, int threshold2 ) argument [all...] |
/external/opencv/otherlibs/highgui/ |
H A D | highgui.h | 252 return !img ? 0 : !img->roi ? img->width : img->roi->width; 258 return !img ? 0 : !img->roi ? img->height : img->roi->height; 312 IplROI roi; local 314 roi.xOffset = r.left; 315 roi.yOffset = r.top; 316 roi.width = r.right - r.left; 317 roi.height = r.bottom - r.top; 318 roi [all...] |
H A D | image.cpp | 214 CvRect roi = cvGetImageROI( m_img ); local 217 if( roi.width == dst.width && roi.height == dst.height ) 219 Show( hDCDst, dst.x, dst.y, dst.width, dst.height, roi.x, roi.y ); 223 if( roi.width > dst.width ) 241 roi.x, roi.y, roi.width, roi [all...] |
/external/opencv3/modules/imgproc/src/ |
H A D | thresh.cpp | 54 Size roi = _src.size(); local 55 roi.width *= _src.channels(); 61 roi.width *= roi.height; 62 roi.height = 1; 63 src_step = dst_step = roi.width; 67 if (tegra::useTegra() && tegra::thresh_8u(_src, _dst, roi.width, roi.height, thresh, maxval, type)) 74 IppiSize sz = { roi.width, roi 392 Size roi = _src.size(); local 661 Size roi = _src.size(); local [all...] |
/external/opencv/cxcore/include/ |
H A D | cxcore.hpp | 136 !image->roi ? cvSize(image->width,image->height) : 137 cvSize(image->roi->width, image->roi->height); 140 CvRect roi() const function in class:CvImage 143 !image->roi ? cvRect(0,0,image->width,image->height) : 144 cvRect(image->roi->xOffset,image->roi->yOffset, 145 image->roi->width,image->roi->height); 148 int coi() const { return !image || !image->roi 150 set_roi(CvRect roi) argument [all...] |
/external/opencv3/modules/features2d/test/ |
H A D | test_orb.cpp | 56 Mat roi(image.size(), CV_8UC1, Scalar(0)); 59 fillConvexPoly(roi, poly, int(sizeof(poly) / sizeof(poly[0])), Scalar(255)); 62 fd->detect(image, keypoints, roi); 66 //image.setTo(Scalar(255,255,255), roi); 79 // if (!roi.at<uchar>(y,x))
|
/external/opencv3/modules/stitching/src/ |
H A D | seam_finders.cpp | 78 Rect roi; local 79 if (overlapRoi(corners_[i], corners_[j], sizes_[i], sizes_[j], roi)) 80 findInPair(i, j, roi); 111 void VoronoiSeamFinder::findInPair(size_t first, size_t second, Rect roi) argument 114 Mat submask1(roi.height + 2 * gap, roi.width + 2 * gap, CV_8U); 115 Mat submask2(roi.height + 2 * gap, roi.width + 2 * gap, CV_8U); 122 for (int y = -gap; y < roi.height + gap; ++y) 124 for (int x = -gap; x < roi [all...] |
H A D | exposure_compensate.cpp | 93 Rect roi; local 94 if (overlapRoi(corners[i], corners[j], images[i].size(), images[j].size(), roi)) 96 subimg1 = images[i](Rect(roi.tl() - corners[i], roi.br() - corners[i])).getMat(ACCESS_READ); 97 subimg2 = images[j](Rect(roi.tl() - corners[j], roi.br() - corners[j])).getMat(ACCESS_READ); 99 submask1 = masks[i].first(Rect(roi.tl() - corners[i], roi.br() - corners[i])).getMat(ACCESS_READ); 100 submask2 = masks[j].first(Rect(roi.tl() - corners[j], roi [all...] |
/external/opencv3/modules/core/test/ |
H A D | test_umat.cpp | 67 Rect roi; local 81 roi = Rect(roi_shift_x, roi_shift_y, roi_size.width, roi_size.height); 89 ua = UMat(ua, roi); 122 ua = UMat(ua,roi); 123 ub = UMat(ub,roi); 134 roi.x &= ~align_mask; 135 roi.y &= ~align_mask; 136 roi.width = (roi.width + align_mask) & ~align_mask; 137 roi [all...] |
/external/opencv3/modules/core/perf/ |
H A D | perf_mat.cpp | 89 Mat roi(source, Rect(width/4, height/4, 3*width/4, 3*height/4)); 93 roi.clone(); 95 destination = roi.clone();
|
/external/opencv3/samples/python2/ |
H A D | facedetect.py | 54 roi = gray[y1:y2, x1:x2] 56 subrects = detect(roi.copy(), nested)
|
/external/opencv3/modules/core/src/ |
H A D | cuda_gpu_mat.cpp | 143 cv::cuda::GpuMat::GpuMat(const GpuMat& m, Rect roi) : 144 flags(m.flags), rows(roi.height), cols(roi.width), 145 step(m.step), data(m.data + roi.y*step), refcount(m.refcount), 149 flags &= roi.width < m.cols ? ~Mat::CONTINUOUS_FLAG : -1; 150 data += roi.x * elemSize(); 152 CV_Assert( 0 <= roi.x && 0 <= roi.width && roi.x + roi [all...] |
H A D | array.cpp | 1036 if( img->roi ) 1038 *roi_size = cvSize( img->roi->width, img->roi->height ); 1185 size = !img->roi ? img->height : img->roi->height; 1188 size = !img->roi ? img->width : img->roi->width; 1236 if( img->roi ) 1238 size.width = img->roi->width; 1239 size.height = img->roi 2830 IplROI *roi = 0; local [all...] |
/external/opencv3/modules/ts/src/ |
H A D | ts_arrtest.cpp | 162 CvRect roi; local 179 roi.width = size.width; 180 roi.height = size.height; 182 roi.x = randInt(rng) % (whole_size.width - size.width); 185 roi.y = randInt(rng) % (whole_size.height - size.height); 193 cvSetImageROI( (IplImage*)test_array[i][j], roi ); 201 cvGetSubRect( test_array[i][j], &submat, roi );
|
/external/opencv3/samples/cpp/ |
H A D | camshiftdemo.cpp | 132 Mat roi(hue, selection), maskroi(mask, selection); 133 calcHist(&roi, 1, 0, maskroi, hist, 1, &hsize, &phranges); 177 Mat roi(image, selection); 178 bitwise_not(roi, roi);
|
/external/opencv3/samples/tapi/ |
H A D | camshift.cpp | 133 cv::UMat roi(hue, selection), maskroi(mask, selection); 134 cv::calcHist(std::vector<cv::Mat>(1, roi.getMat(cv::ACCESS_READ)), std::vector<int>(1, 0), 188 cv::UMat roi(image, selection); 189 cv::bitwise_not(roi, roi);
|
/external/opencv/cxcore/src/ |
H A D | cxarray.cpp | 1211 if( img->roi ) 1213 *roi_size = cvSize( img->roi->width, img->roi->height ); 1381 size = !img->roi ? img->height : img->roi->height; 1384 size = !img->roi ? img->width : img->roi->width; 1440 if( img->roi ) 1442 size.width = img->roi->width; 1443 size.height = img->roi 3232 IplROI *roi = 0; local [all...] |
/external/opencv3/modules/cudalegacy/include/opencv2/cudalegacy/ |
H A D | NCV.hpp | 794 NCVStatus copy2D(NCVMatrix<T> &dst, NcvSize32u roi, cudaStream_t cuStream) const argument 796 ncvAssertReturn(this->width() >= roi.width && this->height() >= roi.height && 797 dst.width() >= roi.width && dst.height() >= roi.height, NCV_MEM_COPY_ERROR); 806 roi.width * sizeof(T), roi.height, cuStream); 961 NCVMatrixReuse(const NCVMatrix<T> &mat, NcvRect32u roi) argument 966 ncvAssertPrintReturn(roi.x < mat.width() && roi [all...] |
/external/opencv3/modules/cudalegacy/src/cuda/ |
H A D | NPP_staging.cu | 331 T_out *d_dst, Ncv32u dstStride, NcvSize32u roi) 338 ncvAssertCUDAReturn(cudaBindTexture(&alignmentOffset, tex8u, d_src, cfdTex, roi.height * srcStride), NPPST_TEXTURE_BIND_ERROR); 342 ncvAssertCUDAReturn(cudaBindTexture(&alignmentOffset, tex8u, d_src, cfdTex, alignmentOffset + roi.height * srcStride), NPPST_TEXTURE_BIND_ERROR); 347 <<<roi.height, NUM_SCAN_THREADS, 0, nppStGetActiveCUDAstream()>>> 348 (d_src, (Ncv32u)alignmentOffset, roi.width, srcStride, d_dst, dstStride); 369 T_out *d_dst, Ncv32u dstStep, NcvSize32u roi, 377 ncvAssertReturn(roi.width > 0 && roi.height > 0, NPPST_INVALID_ROI); 378 ncvAssertReturn(srcStep >= roi.width * sizeof(T_in) && 379 dstStep >= (roi [all...] |