Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

what is the difference of Mat and Iplimage

i am using opencv and c++ for my OCR application. There i am confusing with Mat and Iplimage data structures. i saw following both ways,

  1. IplImage* img = cvLoadImage("C:/MyPic.jpg");
  2. Mat image = imread( argv[1] );

can any one explain what is the c++ code here? Mat or Iplimage?