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

pilomarfits.py .jpg images don't apply analoggain #79

Open
Short-bus opened this issue Jul 27, 2024 · 0 comments
Open

pilomarfits.py .jpg images don't apply analoggain #79

Short-bus opened this issue Jul 27, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Short-bus
Copy link
Owner

src/pilomarfits.py captures the raw bayer data directly from the sensor and saves it in .fits format.
It also 'debayers' the data and saves it as a .jpg file so that you can see what was captured.
The current 'debayer' solution does not apply analoggain to the .jpg data, so the resulting file is very dark.
When using raspistill or libcamera-still the analoggain is usually set to 16.0 which produces brighter images.
pilomarfits.py needs to apply the --analoggain parameter to the debayered image before saving.
In the parameter file the templates can then be edited to add '--analoggain 16.0' to each pilomarfits command.

@Short-bus Short-bus added the enhancement New feature or request label Jul 27, 2024
@Short-bus Short-bus self-assigned this Jul 27, 2024
@Short-bus Short-bus changed the title pilomarfits.py .jpg images don't apply analoguegain pilomarfits.py .jpg images don't apply analoggain Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant