Last active
August 15, 2019 03:50
-
-
Save Abhinay1997/cfc8fd2360ec413943d5f61259011637 to your computer and use it in GitHub Desktop.
Sample showing the difference between GRBG and RGGB debayering on Panoptes FITS files.
@joshwalawender, updated the gist to properly distinguish between RGGB and GRBG modes.
Thank you for the code snippet Josh. it will get me upto speed quite quickly.
Clarification The FITS files have the zeroth pixel at the bottom left corner of the array. So first flip the array using np.flipud
and then apply RGGB demosaicing which is the pattern used by Canon.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks like the color is good in the laser. Hard to tell in the sky. I'm not too familiar with PIL, but try image normalization in
astropy.visualization
. Here's example of code I've used:You can also try other intervals and stretches.