worlickwerx / sbig-util

Linux utility for Santa Barbara Instrument Group cameras for astronomy
GNU General Public License v3.0
5 stars 2 forks source link

add --color-convert=rgb option for single shot color cameras #33

Open garlick opened 6 years ago

garlick commented 6 years ago

As noted in #32, color cameras produce a raw image that needs some post processing to be useful. #32 adds an option --color-convert=mono to output a monochrome image.

Another option --color-convert=rgb could interpolate the raw image to separate R, G, B FITS files. Sbigudrv manual suggest a simple method for this.

This article includes a summary of de-Bayering algorithms: http://www.stark-labs.com/craig/resources/Articles-&-Reviews/Debayering_API.pdf

Extra credit would be to arrange to preview in color with ds9: "Create a True Color Image in an RGB frame" (in ds9) http://ds9.si.edu/doc/user/rgb/index.html