/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...] |
H A D | cv3dtracker.cpp | 110 if( samples[c]->roi && 111 ((samples[c]->roi->xOffset | samples[c]->roi->yOffset 112 | samples[c]->roi->width | samples[c]->roi->height) < 0 || 113 samples[c]->roi->xOffset + samples[c]->roi->width > samples[c]->width || 114 samples[c]->roi->yOffset + samples[c]->roi->height > samples[c]->height || 115 (unsigned) (samples[c]->roi [all...] |
H A D | cvfacedetection.cpp | 380 if ( ( !FaceImage->roi ) ) 383 lpFaceTemplate1 = new BoostingFaceTemplate(3,cvRect(FaceImage->roi->xOffset,FaceImage->roi->yOffset, 384 FaceImage->roi->width,FaceImage->roi->height));
|
H A D | cvvecfacetracking.cpp | 206 inline int Init(const CvRect& roi, const CvTrackingRect& prev, CvMemStorage* mstg = NULL) argument 208 m_rROI = roi; 268 CvRect roi = m_rROI; local 269 Extend(roi, 1); 270 cvSetImageROI(img, roi); 271 cvSetImageROI(thresh, roi); 317 Move(cr.r, roi.x, roi.y); 327 Move(cr.r, roi.x, roi [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/ImageMagick/MagickCore/ |
H A D | pixel.c | 519 static void ExportCharPixel(const Image *image,const RectangleInfo *roi, 541 for (y=0; y < (ssize_t) roi->height; y++) 543 p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); 546 for (x=0; x < (ssize_t) roi->width; x++) 558 for (y=0; y < (ssize_t) roi->height; y++) 560 p=GetVirtualPixels(image,roi->x,roi->y+y,roi 510 ExportCharPixel(const Image *image,const RectangleInfo *roi, const char *magick_restrict map,const QuantumType *quantum_map,void *pixels, ExceptionInfo *exception) argument 716 ExportDoublePixel(const Image *image,const RectangleInfo *roi, const char *magick_restrict map,const QuantumType *quantum_map,void *pixels, ExceptionInfo *exception) argument 923 ExportFloatPixel(const Image *image,const RectangleInfo *roi, const char *magick_restrict map,const QuantumType *quantum_map,void *pixels, ExceptionInfo *exception) argument 1129 ExportLongPixel(const Image *image,const RectangleInfo *roi, const char *magick_restrict map,const QuantumType *quantum_map,void *pixels, ExceptionInfo *exception) argument 1335 ExportLongLongPixel(const Image *image,const RectangleInfo *roi, const char *magick_restrict map,const QuantumType *quantum_map,void *pixels, ExceptionInfo *exception) argument 1543 ExportQuantumPixel(const Image *image,const RectangleInfo *roi, const char *magick_restrict map,const QuantumType *quantum_map,void *pixels, ExceptionInfo *exception) argument 1752 ExportShortPixel(const Image *image,const RectangleInfo *roi, const char *magick_restrict map,const QuantumType *quantum_map,void *pixels, ExceptionInfo *exception) argument 1966 roi; local 2504 ImportCharPixel(Image *image,const RectangleInfo *roi, const char *magick_restrict map,const QuantumType *quantum_map, const void *pixels,ExceptionInfo *exception) argument 2764 ImportDoublePixel(Image *image,const RectangleInfo *roi, const char *magick_restrict map,const QuantumType *quantum_map, const void *pixels,ExceptionInfo *exception) argument 3004 ImportFloatPixel(Image *image,const RectangleInfo *roi, const char *magick_restrict map,const QuantumType *quantum_map, const void *pixels,ExceptionInfo *exception) argument 3244 ImportLongPixel(Image *image,const RectangleInfo *roi, const char *magick_restrict map,const QuantumType *quantum_map, const void *pixels,ExceptionInfo *exception) argument 3464 ImportLongLongPixel(Image *image,const RectangleInfo *roi, const char *magick_restrict map,const QuantumType *quantum_map, const void *pixels,ExceptionInfo *exception) argument 3684 ImportQuantumPixel(Image *image,const RectangleInfo *roi, const char *magick_restrict map,const QuantumType *quantum_map, const void *pixels,ExceptionInfo *exception) argument 3904 ImportShortPixel(Image *image,const RectangleInfo *roi, const char *magick_restrict map,const QuantumType *quantum_map, const void *pixels,ExceptionInfo *exception) argument 4132 roi; local [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...] |
H A D | _cvipp.h | 296 int dststep, CvSize roi, CvSize esize, CvPoint anchor, void* buffer )) \ 304 void* dst, int dststep, CvSize roi, int bordertype, void* morphstate )) 357 CvSize roi, CvSize ksize, CvPoint anchor )) 367 CvSize roi, CvSize ksize, CvPoint anchor )) 385 CV_PLUGINS1(CV_PLUGIN_IPPCV), ( CvSize roi, int masksize, int* buffersize )) \ 388 ( const void* src, int srcstep, void* dst, int dststep, CvSize roi, int masksize, \ 408 CV_PLUGINS1(CV_PLUGIN_IPPCV), ( CvSize roi, int* buffersize )) \ 411 ( const void* src, int srcstep, void* dst, int dststep, CvSize roi, \ 426 CV_PLUGINS1(CV_PLUGIN_IPPCV), ( CvSize roi, int masksize, int* buffersize )) \ 429 ( const void* src, int srcstep, void* dst, int dststep, CvSize roi, in [all...] |
H A D | _cvimgproc.h | 56 ( const void* src, int srcstep, void* dst, int dststep, CvSize roi, int aperture ); 59 ( const void* src, int srcstep, void* dst, int dststep, CvSize roi );
|
H A D | cvcalccontrasthistogram.cpp | 298 CvSize roi = {0,0}; 306 cvGetImageRawData( img[i], &data[i], &step, &roi );} 317 IPPI_CALL( icvCalcContrastHist8uC1R( data, step, roi, hist, dont_clear ) ); 335 CvSize roi = { 0, 0 }; 354 cvGetImageRawData( img[i], &data[i], &step, &roi ); 369 IPPI_CALL( icvCalcContrastHist8uC1R( data, step, roi, hist, dont_clear )); 374 mask_step, roi, hist, dont_clear ));
|
H A D | cvfloodfill.cpp | 95 icvFloodFill_8u_CnIR( uchar* pImage, int step, CvSize roi, CvPoint seed, argument 117 while( ++R < roi.width && img[R] == val0[0] ) 134 while( ++R < roi.width && ICV_EQ_C3( img + R*3, val0 )) 164 for( k = 0/*(unsigned)(YC - dir) >= (unsigned)roi.height*/; k < 3; k++ ) 171 if( (unsigned)(YC + dir) >= (unsigned)roi.height ) 177 if( (unsigned)i < (unsigned)roi.width && img[i] == val0[0] ) 184 while( ++i < roi.width && img[i] == val0[0] ) 193 if( (unsigned)i < (unsigned)roi.width && ICV_EQ_C3( img + i*3, val0 )) 200 while( ++i < roi.width && ICV_EQ_C3( img + i*3, val0 )) 227 icvFloodFill_32f_CnIR( int* pImage, int step, CvSize roi, CvPoin argument [all...] |
H A D | cvcorner.cpp | 625 CvRect roi = cvRect(0,y,size.width,delta); local 631 dx_filter.process(src,Dx,roi,origin,stage); 632 dy_filter.process(src,Dy,roi,origin,stage); 633 d2x_filter.process(src,D2x,roi,origin,stage); 634 d2y_filter.process(src,D2y,roi,origin,stage); 635 stripe_size.height = dxy_filter.process(src,Dxy,roi,origin,stage);
|
H A D | cvhistogram.cpp | 2151 IplROI roi; local 2179 img[i]->roi = &roi; 2193 roi.coi = 0; 2194 roi.width = patch_size.width; 2195 roi.height = patch_size.height; 2203 roi.xOffset = x; 2204 roi.yOffset = y;
|
/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/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...] |
H A D | cxtypes.h | 383 struct _IplROI *roi; /* Image ROI. If NULL, the whole image is selected. */ member in struct:_IplImage 863 IplROI roi; local 864 roi.xOffset = rect.x; 865 roi.yOffset = rect.y; 866 roi.width = rect.width; 867 roi.height = rect.height; 868 roi.coi = coi; 870 return roi; 874 CV_INLINE CvRect cvROIToRect( IplROI roi ) 876 return cvRect( roi [all...] |
/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...] |
H A D | cxpersistence.cpp | 3933 if( image->roi ) 3935 cvStartWriteStruct( fs, "roi", CV_NODE_MAP + CV_NODE_FLOW ); 3936 cvWriteInt( fs, "x", image->roi->xOffset ); 3937 cvWriteInt( fs, "y", image->roi->yOffset ); 3938 cvWriteInt( fs, "width", image->roi->width ); 3939 cvWriteInt( fs, "height", image->roi->height ); 3940 cvWriteInt( fs, "coi", image->roi->coi ); 3979 CvRect roi; local 4007 roi_node = cvGetFileNodeByName( fs, node, "roi" ); 4010 roi [all...] |
/external/opencv/cvaux/include/ |
H A D | cvaux.h | 174 #define CV_COUNT_OBS(roi, win, delta, numObs ) \ 176 (numObs)->width =((roi)->width -(win)->width +(delta)->width)/(delta)->width; \ 177 (numObs)->height =((roi)->height -(win)->height +(delta)->height)/(delta)->height;\ 233 IplImage *img_mask, CvRect *roi); 1408 CvRect roi CV_DEFAULT(cvRect(0,0,0,0)), 1412 CvArr* fgmask, CvRect roi CV_DEFAULT(cvRect(0,0,0,0)) ); 1415 CvRect roi CV_DEFAULT(cvRect(0,0,0,0)),
|
/external/libvpx/libvpx/vp8/ |
H A D | vp8_cx_iface.c | 1216 vpx_roi_map_t *roi = (vpx_roi_map_t *)data; local 1218 if (!vp8_set_roimap(ctx->cpi, roi->roi_map, roi->rows, roi->cols, roi->delta_q, roi->delta_lf, roi->static_threshold))
|