-
Notifications
You must be signed in to change notification settings - Fork 204
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
indi_rpicam - unable to get proper colour in the photographs #216
Comments
Can you please upload an example of your fits image and Ill have a look? |
Hi, same issue here. Almost same configuration RPi-4-4GB + HQ Camera + Astroberry. I have to set the BAYERPAT=BGGR in the fits header manually (in the INDI driver settings). But trying to debayer with Fitsworks fails: it does not produce any reasonable color for any BAYER matrix settings ... |
https://drive.google.com/drive/folders/1ONh3VJKFUWhNRVF_gH7LUuhdIn8UmdYE?usp=sharing Google Drive Link with fits file as well as the tiff files generated with PIPP using BGGR and RGGB for debayering along with the logs of PIPP |
I do not have an astro photo yet ... just an image from my office ... which makes it very obvious. |
Thanks, your debayerd files for sure does not look right. When I open the raw fits-file in kstars it looks ok. Does it look alright for you in kstars (remember to turn on the auto debayer FITS-option in kstars). |
Oh yes ...
This flag is not set by default ... looks better now, but this does not give the correct result yet. |
I guess that green is simply not divided by 2 ... there are 2 green pixels in the matrix ... |
@baryah : treating your fits via fitswork the same way also gives a reasonable result ... |
@baryah : and using DSS: Set red scale and blue scale in the Raw/FITS Settings to 2.00 and you get a nice result too. |
Ok, great news. I suppose that if I just multiply blue and red with 2 in the driver all would be fine. I dont want to divide green with 2 since we would loose one bit then, and since its 16 data, the 12bit raw data will fit ok even if I multiply by 2. |
I really think after reading up on this that this is correct behavior. I did find some errors and possible instabilities in the code and I will submit that shortly. Let me know if you disagree. |
If you mean multiply B&R by 2 ... fine, yes ... that should do it ... |
Yes, ok great. We can close this ticket then. |
From my side, yes. |
Sure.
I believe progress has been made. Hope to get better results ..
… On 19-Oct-2020, at 2:24 PM, cnieswand ***@***.***> wrote:
From my side, yes.
Thank you very much for your help!
@baryah <https://github.com/baryah> ???
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#216 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AKQZSXWLD4EYNGF2BDNKTHLSLP5ERANCNFSM4RKZSOFQ>.
|
with RPi-4-8GB+HQ Camera+Astroberry -> the clicked picture is a monochrome 'fits' file with bayer pattern BGGR (Header). When I debayer it in DSS, the output is a rather pink looking image. I chose Generic BGGR in the Raw/FITS DDP Settings.
The text was updated successfully, but these errors were encountered: