图像旋转与缩放-OpenCV实例

图像旋转与缩放#include "cv.h" #include "highgui.h" #include "math.h" int main (int argc, char **argv) { IplImage *src = 0; IplImage *dst = 0;   /* the first command line parameter must be image file name */ if ((argc == 2) && (src = cvLoadImage (argv[1], -1)) != 0) { int delta = 1; int angle = 0; int opt = 0; // 1:旋转加缩放// 0:仅仅旋转double factor;
ppt 文件大小:3.04MB