title: What's the difference between reading Emgu image from bitmap or path in find contours
body: <p>I'm trying to find contours in the emgu image, but I discover that the number of found contours is not the same if the emgu image read from path or from bitmap.</p>
  
  <p>Example........</p>
  
  <pre><code>Image&lt;Bgr, byte&gt; emguPathImage = new Image&lt;Bgr, byte&gt;(path);
  Image&lt;Gray, byte&gt; gray1 = emguPathImage .Convert&lt;Gray, Byte&gt;();
  
  
  Bitmap bitmapImage = new Bitmap(path);
  Image&lt;Bgr, byte&gt; emguBitmapImage = new Image&lt;Bgr, byte&gt;(bitmapImage);
  Image&lt;Gray, byte&gt; gray2 = emguBitmapImage .Convert&lt;Gray, Byte&gt;();
  </code></pre>
  
  <p>Now when I tried to called findContours for gray1 and gray2, I get different number of contours</p>
  
  <pre><code> var sourceContours1 = gray1.FindContours(Emgu.CV.CvEnum.CHAIN_APPROX_METHOD.CV_CHAIN_APPROX_NONE, Emgu.CV.CvEnum.RETR_TYPE.CV_RETR_LIST);
  
  
   var sourceContours2 = gray2.FindContours(Emgu.CV.CvEnum.CHAIN_APPROX_METHOD.CV_CHAIN_APPROX_NONE, Emgu.CV.CvEnum.RETR_TYPE.CV_RETR_LIST);
  </code></pre>
  
  <p>so is that possible to get exactly the same results, but why the results is different!</p>