-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support for monochrome (gray scale) camera. #46
Comments
To support monochrome camera, I need more information.
for (int i = 0; i < formats.Length; i++) Console.WriteLine("{0}:{1}", i, formats[i]);
|
This is working note for me.
public static readonly Guid MEDIASUBTYPE_Y8 = new Guid("{17fd9d23-d15f-4e42-9e3e-310b1d4a209b}"); But as long as I googled, there is no same information.
and it seems there is a naming rule, and this matchs the rule. |
continuation.
Y8 may be same with Y800. so, first, I make little app that convert C# Bitmap to Y800 or Y16 image buffer, and save it to file. |
There are some issues that found problem when using monochrome (gray scale) camera.
See issue #13, #43, #45.
Until now, I have never tested monochrome camera.
In this time, I purchased monochrome camera ELP-USBGS720P02-L36.
I tested but this model works fine.
Then, I executed below and dump supported video format.
the result is
It seems that sub type [MJPG] or [YUY2] works good, and some people reported me [Y8] or [Y800] or [Y16] found problem.
(to show [Y8], [Y800], [Y16], you have to register GUID for each.)
The text was updated successfully, but these errors were encountered: