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.
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
@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.