OpenCv调整图片(Mat)大小

<span style="font-size:18px;">CV_EXPORTS_W void resize( InputArray src, OutputArray dst,
                          Size dsize, double fx = 0, double fy = 0,
                          int interpolation = INTER_LINEAR );</span>

和之前Iplimage*类似:resize(src, dst, Size(src.cols*0.5,src.rows*0.5));//把dst调整到src一半的大小


你可能感兴趣的:(opencv,resize)