Home | History | Annotate | Download | only in src

Lines Matching full:roi

49 //    Parameters: img     - pointer to the original image ROI
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,
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.width;
176 for( x = 0; x < roi.width; x++ )
202 if( (buf += roi.width) >= buf_limit )
214 if( (buf += roi.width) >= buf_limit )
231 if( (buf += roi.width) >= buf_limit )
239 for( x = 0; x + dctSize.width <= roi.width; x += delta.width )
243 work_t *buf = buffer + x + roi.width * i;
312 icvImgToObs_DCT_32f_C1R( float * img, int imgStep, CvSize roi,
337 if( roi.width <= 0 || roi.height <= 0 )
350 Nx = (roi.width - dctSize.width + delta.width) / delta.width;
351 Ny = (roi.height - dctSize.height + delta.height) / delta.height;
356 buffer = (work_t *)cvAlloc( roi.width * obsSize.height * sizeof( buffer[0] ));
363 buf_limit = buffer + obsSize.height * roi.width;
373 for( x = 0; x < roi.width; x++ )
399 if( (buf += roi.width) >= buf_limit )
411 if( (buf += roi.width) >= buf_limit )
428 if( (buf += roi.width) >= buf_limit )
436 for( x = 0; x + dctSize.width <= roi.width; x += delta.width )
440 work_t *buf = buffer + x + roi.width * i;