Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int xmin = 0, xmax = dsize.width, width = dsize.width*cn;
- bool area_mode = interpolation == INTER_AREA;
- bool fixpt = depth == CV_8U;
- float fx, fy;
- ResizeFunc func=0;
- int ksize=0, ksize2;
- if( interpolation == INTER_CUBIC )
- ksize = 4, func = cubic_tab[depth];
- else if( interpolation == INTER_LANCZOS4 )
- ksize = 8, func = lanczos4_tab[depth];
- else if( interpolation == INTER_LINEAR || interpolation == INTER_AREA )
- ksize = 2, func = linear_tab[depth];
- else
- CV_Error( CV_StsBadArg, "Unknown interpolation method" );
- ksize2 = ksize/2;
- CV_Assert( func != 0 ); // line 1980
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement