-
Notifications
You must be signed in to change notification settings - Fork 42
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
Bad image quality on RPI5 with RP HQ IMX477 camera #1554
Comments
This is the challenge of dealing with RAW data. RAW data has no white balance, so you get the green bias due to the bayer matrix having 2 green pixels for every 1 red and blue. Personally, I like the SCNR Average Neutral better than the Maximum Neutral. You can enable the AWB settings with libcamera, which should give you results similar (or the same) as TJ's allsky. |
Can you post your data from Support Info? |
I had same problem and compiled a cheet sheet: Tint Problem | Correction Needed I use now: I checked this by putting into processing.py:1383
and I get values around 50 for all channels what means the auto-wb is not changing the picture anymore. The picture still does not look natural but I assume we are all used to cameras tuning the picture to please the eye. |
I have been battling the same issue with a RPi 4 4GB and RPi HQ Camera. I've used Allsky for a year now and trying to switch over because of the added features Indi-Allsky offers. Unfortunately I have been camera down for a week now. If I attempt to use raw mode Indi-Allsky errors out in the logs. With jpeg, my photos come out hard green and I cannot seem to get the color settings correct. I've attempted this after 3 wipes and installs. What configuration is different from AllSky and Indi-Allsky to have these IMX477 sensor issues? Thanks. Error when attempting RAW image mode.
|
Update to the latest code and re-run |
@aaronwmorris Thanks for the fix. I can confirm that fixed the issue when using the RAW settings with no errors in the logs. I am still tuning the image balance factors to get a more natural tone without applying white balance. If I get it sorted out I will share my image settings. |
Based on your timezone, I am going to assume you are in the western hemisphere. I think the problem is you have your longitude set for the eastern hemisphere. Your longitude should probably be negative. |
That was it. A minor oversight and forgot to add the -. I've been at this tuning the images from the IMX477 for so long now. I'm about to throw in the towel and replace the cam with a ASI676MC. |
One thing you can do with the IMX477 is enable the libcamera AWB and look to see the values that is calculates for Red and Blue in the log (it only adjusts red and blue). It can give you a much better starting point. I may end up having to create separate R, G, and B gain values for day and night for situations like this. |
It got better with following option: RPi4: PRi5: |
Interesting. I have seen the "scientific" tuning file in the folder, but I had no idea the history. Very cool. |
Update: I gave up on the RPi HQ camera and installed a ASI676MC. Its fantastic. |
Astronomy cameras do tend have much better quality. |
Hello, switched from Allsky where I had a good image quality. Did a fresh install of Allsky-INDI and have bad 'greenish' image. I'm using the lib camera_imx477 driver.
I tried to set the Bayer Pattern to BGGR and SCNR to max, still no good.
In the second picture the sky is to dark and there is also a red glue.
Any recommendations on the settings please?
Thanks.
The text was updated successfully, but these errors were encountered: