You are not logged in.
crtwo2fits is an open-source utility written in python for converting Canon™ CR2 raw files into FITS images. It comes with a ready-to-use script and a pure-python module that can be imported and used in other python programs. By default it will try to use dcraw to decode the raw files but it can be also configured to use other decoders[1]. It also integrates a native lossless jpeg Huffman decoder[2] so it can decode CR2 files directly without the need of external programs.
The program has also the ability to read the EXIF and MAKERNOTE metadata stored in the CR2 files and to export them to a python pickable file. The date and time of the shot, if present, is also exported into the FITS file using the DATE-OBS card.
github page: https://github.com/mauritiusdadd/crtwo2fits
AUR page: https://aur4.archlinux.org/packages/crtwo2fits
NOTES:
An external decoder must return the decoded image as PGM data on the standard output
Since the native decoder function is written in pure-python, it's slower compared to other decoders like dcraw
Last edited by mauritiusdadd (2015-07-11 13:09:14)
Offline