title: CvMat and Imread Vs IpImage and CvLoadImage
body: <p><strong>Using OpenCv 2.4</strong></p>
  
  <p>I have two options to load images: </p>
  
  <pre><code>  1- CvMat and Imread
  
    2- IpImage and CvLoadImage    
  </code></pre>
  
  <p>Which one is better to use? I tried mixing the two and end up in seg fault.   </p>