文件名称:cvResize
介绍说明--下载内容均来自于网络,请自行研究使用
Resize
圖像大小變換
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_NN 方法..
* CV_INTER_CUBIC - 立方插值.
函數 cvResize 將圖像 src 改變尺寸得到與 dst 同樣大小。若設定 ROI,函數將按常規支持 ROI. -Resize the image size conversion void cvResize (const CvArr* src, CvArr* dst, int interpolation = CV_INTER_LINEAR) src input image. Dst output image. Interpolation interpolation method:* CV_INTER_NN- nearest neighbor interpolation,* CV_INTER_LINEAR- bilinear interpolation (default use)* CV_INTER_AREA- resampling using pixel relationship. The time when the image reduction, the method avoids ripple appears. When the image is zoomed in, like CV_INTER_NN method ..* CV_INTER_CUBIC- cubic interpolation. Function cvResize change the size of the image src and dst are the same size. If the setting ROI, will be general support functions ROI.
圖像大小變換
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_NN 方法..
* CV_INTER_CUBIC - 立方插值.
函數 cvResize 將圖像 src 改變尺寸得到與 dst 同樣大小。若設定 ROI,函數將按常規支持 ROI. -Resize the image size conversion void cvResize (const CvArr* src, CvArr* dst, int interpolation = CV_INTER_LINEAR) src input image. Dst output image. Interpolation interpolation method:* CV_INTER_NN- nearest neighbor interpolation,* CV_INTER_LINEAR- bilinear interpolation (default use)* CV_INTER_AREA- resampling using pixel relationship. The time when the image reduction, the method avoids ripple appears. When the image is zoomed in, like CV_INTER_NN method ..* CV_INTER_CUBIC- cubic interpolation. Function cvResize change the size of the image src and dst are the same size. If the setting ROI, will be general support functions ROI.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
123.cpp