C #include <cv.h> #include <highgui.h> int main(int argc, char **argv) { IplImage *src_img = 0, *dst_img = 0; CvMat *affine_matrix = NULL; CvPoint2D32f src_pt[3], dst_pt[3]; char *imagename; // (1)load a specified file as a 3-channel color image, // and allocate a destination image imagename = argc > 1 ? argv[1] : "../image/fruit.png"; src_img = cvLoadImage(imagename, CV_LOAD_IMAGE_COLOR); if(src_