title: opencv save file xml
body: <p>I hope that you can help me...</p>
  
  <p>I have an IplImage (reimg_right) 320 X 240, IPL_DEPTH_32F
  and I want to save it as an image and as an xml file.
  I use this code:</p>
  
  <pre><code>sprintf(name1,"path1/image.bmp");
  sprintf(name2,"path2/feature_image32F.xml");
  cvSaveImage(name1,reimg_right);
  cvSave(name2, reimg_right, NULL, NULL, cvAttrList(0,0));
  </code></pre>
  
  <p>all is ok but the problem is that in the xml file I don't have a matrix 320 X 240 but a matrix 19200 X 4 !!!
  someone knows how to hold the dimensions? 
  thanks gabriele</p>