Skip to content
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

Cameras that lie about their properties #43

Open
dronir opened this issue Jul 12, 2019 · 0 comments
Open

Cameras that lie about their properties #43

dronir opened this issue Jul 12, 2019 · 0 comments

Comments

@dronir
Copy link

dronir commented Jul 12, 2019

I'm using an Alcor OMEA allsky camera, which seems to be based on a DMK 51AU02.AS camera by The Imaging Source. This camera (and others in its family) has the unfortunate feature that it lies about its pixel format: it reports BA81 (a BGGR pattern) while in fact the correct format would be SGBRG8. This leads to the debayering being done with the wrong pattern and messed-up colours.

Since there's no way to force the correct pattern when the camera itself is wrong, I had to made a fork with an ugly hack that basically just skips the check against the value given by the camera. That works fine for me, so it's not a big deal now. This is more of a FYI.

The same issue is dealt by the oaCapture software with a similar hack, https://github.com/openastroproject/openastro/blob/master/liboacam/v4l2/V4L2getState.c#L117

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant