cv::Mat → IplImage
IplImage *iplImage = cvLoadImage(imageFile, 1); cv::Mat matImage(iplImage);
IplImage → cv::Mat
cv::Mat matImage(cv::Size(width, height), CV_8UC3); IplImage *iplImage = cvCreateImage(cvSize(width, height), 8, 3); iplImage = &matImage.operator IplImage();
0 件のコメント:
コメントを投稿