I am working on C# Emgu CV to convert 256 color image to 16 color image.
I could read the image data.
Image<Gray, Byte> img = new Image<Gray, Byte>("test01.bmp");
I can find the convert function.
Image<Gray, Byte> img2 = img.Convert(Gray, Byte);
Here, the second parameter is Depth of the image. I want to set it as 4. But the available values of the parameters are like below.
Byte, SByte, Single, double, UInt16, Int16 or Int32
How can I solve this problem?