title: How to convert an OpenCV Mat that has been written in an xml file back into an image?
body: <p>I wrote some code to generate an .xml file that contains the RGB data from a Mat file in OpenCV. I would like to recreate this image in MATLAB from the data points in the xml file. I am however unsure of the formatting of the xml file, since when I open it it looks something like this:</p>
  
  <pre><code>&lt;?xml version="1.0?&gt;
  &lt;opencv_storage&gt;
  &lt;myMatrix type_id="opencv-matrix"&gt;
      &lt;rows&gt;116&lt;/rows&gt;
      &lt;cols&gt;116&lt;/cols&gt;
      &lt;dt&gt;u&lt;/dt&gt;
      &lt;data&gt;
        97 101 97 98 99 97 ...
      &lt;/data&gt;
      &lt;/myMatrix&gt;
      &lt;/opencv_storage&gt;
  </code></pre>