zanmar/loader_fits
12 years agohistogram based min max values. environment vals
Ricardo Zanmar [Sun, 5 Jun 2011 20:00:25 +0000 (22:00 +0200)] 
histogram based min max values. environment vals

The y axis was inverted becase the way the fits files are saved. This
has been fixed. I now use DATAMIN DATAMAX environmental variables to
pass values to the loader. At the moment this only works if both are
defined but it might be useful to split this. If these variables don't
exist the we do histogram and base the min and max on this, very similar
to ds9's 99.5 scaling.

12 years agoA fits loader for the imlib2 library.
Ricardo Zanmar [Sat, 4 Jun 2011 08:16:37 +0000 (10:16 +0200)] 
A fits loader for the imlib2 library.

The hardest part was compiling it. I'm using gbilo make file but the
commands on doit.sh also work. This last was what I was able to figure
out from the makefile of the GIF loader. In this first commit, I'm able
to see somekind of image but the rescaling hasn't been done yet. The
fits writer needs to written also (.argb). This loader was started by
editing the loader_argb.c. TODO: make it more robust, better handling of
data types, check if there are datamin datamax values in the header.