本文转载于文章:http://blog.sina.com.cn/s/blog_4bc179a80100kudp.html
感谢该作者的精心整理
图像大小变换
void cvResize( const CvArr* src, CvArr* dst, int
interpolation=CV_INTER_LINEAR );
src
输入图像.
dst
输出图像.
interpolation
差值方法:
• CV_INTER_NN - 最近邻差值,
• CV_INTER_LINEAR -
• CV_INTER_AREA -
可以避免波纹出现。当图像放大时,类似于
• CV_INTER_CUBIC -
函数
ROI,函数将按常规支持 ROI.<