Bitmap to image conversion
<p>more information to last post(being more specific)</p>

<p>hi, 
I want to take advantages from emgucv and at the same time agorge.net.</p>

<p>Problem I am facing is type conversion</p>

<pre><code>//EMGUCV

Image&lt;Bgr, Byte&gt; image1 = new Image&lt;Bgr, Byte&gt;("file.jpg"); //read the image

// AFORGE.net
 system.drawing.Bitmap image2 = (Bitmap)Bitmap.FromFile("file.jpg");
</code></pre>

<p>How can i interchange these two types.</p>

<p>Bitmap->image (to base class)</p>

<p>e.g.,</p>

<pre><code>Bitmap grayImage = filter.Apply(image1.Bitmap);

now want to use
ImageViewer.Show(grayImage, "test"); //error
</code></pre>

<p>regards,
shahzad</p>
