views:

115

answers:

1

How can I convert a Mat element to IplImage * element? Please Help!

+1  A: 
Mat mat_img;
//....
IplImage ipl_img = mat_img;

This puts a header of IplImage on top of mat_img so there is no copying. You can pass &ipl_img to function which need IplImage*.

Jacob
thanks..!! it helped...
Kaushal