Conversion to grayscale using emguCV in C#
问题 I am new to EmguCV. I want to convert an rgb image into gray scale. For the conversion I have used the code Image<Gray,byte> grayImage = ColordImage.Convert<Gray, byte>(); 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. Regards Amal 回答1: It may depend on the type of colour that ColordImage is. For