2015-10-24 05:06:35 -0600 | received badge | ● Enthusiast |
2013-08-19 16:46:05 -0600 | received badge | ● Critic (source) |
2013-05-28 04:53:36 -0600 | commented answer | converting from iplimage to cvmat and vise versa (taken from the sheet) // Assuming somewhere IplImage *iplimg; exists // and has been allocated and cv::Mat Mimg has been defined Mat imgMat(iplimg); //Construct an Mat image "img" out of an IplImage Mimg = iplimg; //Or just set the header of pre existing cv::Mat //Ming to iplimg's data (no copying is done) //Convert to IplImage or CvMat, no data copying IplImage ipl_img = img; CvMat cvmat = img; // convert cv::Mat -> CvMat |
2013-04-24 06:10:18 -0600 | received badge | ● Supporter (source) |