OpenCV:设置图像的感兴趣区域(ROI)
新函数用红色显示,程序为:
#include
#include
#include
void main()
{
IplImage * src=cvLoadImage("baboon.jpg",-1);
IplImage * dst;
CvRect roi_rect_src;
CvRect roi_rect_dst;
cvNamedWindow("src",CV_WINDOW
转载
2014-02-24 11:02:49 ·
2146 阅读 ·
0 评论