title: Conversion to grayscale using emguCV in C#
body: <p>I am new to EmguCV. I want to convert an rgb image into gray scale. For the conversion I have used the code</p>
  
  <pre><code>Image&lt;Gray,byte&gt; grayImage = ColordImage.Convert&lt;Gray, byte&gt;();
  </code></pre>
  
  <p>Now when i compile this code in C# it gives no error,but when i run it then after a few seconds it gives me the exception at this line of code that this type of conversion is not supported by OpenCV. Now can any one help me solve this problem.</p>
  
  <p>Regards
  Amal</p>