Searched refs:roi (Results 1 - 25 of 29) sorted by relevance

12

/external/opencv/cvaux/src/
H A Dcvbgfg_codebook.cpp87 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 Dcvcreatehandmask.cpp54 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 Dcvhmmobs.cpp51 // 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 Dcv3dtracker.cpp110 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 Dcvfacedetection.cpp380 if ( ( !FaceImage->roi ) )
383 lpFaceTemplate1 = new BoostingFaceTemplate(3,cvRect(FaceImage->roi->xOffset,FaceImage->roi->yOffset,
384 FaceImage->roi->width,FaceImage->roi->height));
H A Dcvvecfacetracking.cpp206 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/chromium_org/third_party/libvpx/source/libvpx/examples/
H A Dset_maps.c67 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/libvpx/libvpx/examples/
H A Dset_maps.c67 vpx_roi_map_t roi = {0}; local
69 roi.rows = (cfg->g_h + 15) / 16;
70 roi.cols = (cfg->g_w + 15) / 16;
72 roi.delta_q[0] = 0;
73 roi.delta_q[1] = -2;
74 roi.delta_q[2] = -4;
75 roi.delta_q[3] = -6;
77 roi.delta_lf[0] = 0;
78 roi.delta_lf[1] = 1;
79 roi
[all...]
/external/opencv/cv/src/
H A Dcvthresh.cpp46 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 Dcvsnakes.cpp55 // 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 Dcvpyrsegmentation.cpp183 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.h296 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.h56 ( 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 Dcvcalccontrasthistogram.cpp298 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 Dcvfloodfill.cpp95 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 Dcvcorner.cpp625 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 Dcvhistogram.cpp2151 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 Dhighgui.h252 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 Dimage.cpp214 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 Dcxcore.hpp136 !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 Dcxtypes.h383 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 Dcxarray.cpp1211 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/opencv/cvaux/include/
H A Dcvaux.h174 #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/chromium_org/third_party/libvpx/source/libvpx/vp8/
H A Dvp8_cx_iface.c1150 vpx_roi_map_t *roi = (vpx_roi_map_t *)data; local
1152 if (!vp8_set_roimap(ctx->cpi, roi->roi_map, roi->rows, roi->cols, roi->delta_q, roi->delta_lf, roi->static_threshold))
/external/libvpx/libvpx/vp8/
H A Dvp8_cx_iface.c1128 vpx_roi_map_t *roi = (vpx_roi_map_t *)data; local
1130 if (!vp8_set_roimap(ctx->cpi, roi->roi_map, roi->rows, roi->cols, roi->delta_q, roi->delta_lf, roi->static_threshold))

Completed in 2763 milliseconds

12