Hello,
I had been trying to normalize a FITS image for 2 days. The problem il that the image come from IDL and so the header starts this way (then there are astro data, irrelevant to my problem) :
SIMPLE = T / Written by IDL: Sun Jun 7 11:47:27 2009
BITPIX = -32 / IEEE single precision floating point
NAXIS = 2 / number of data axes
NAXIS1 = 4096 / length of data axis 1
NAXIS2 = 4096 / length of data axis 2
EXTEND = T / FITS dataset may contain extensions
COMMENT = 'ASTEPSUD'
COMMENT Astrophysics Supplement Series v44/p363, v44/p371, v73/p359, v73/p365.
COMMENT Contact the NASA Science Office of Standards and Technology for the
COMMENT FITS Definition document #100 and other FITS information.
BZERO = '0 ' / offset data range to that of unsigned short
BSCALE = 1 / default scaling factor
When I -normalize this FITS, the out file is not normalize. Let me explain you the problem !
Using the basic image ASUD...... I can normalize it and I can see much more star after the "normalization".
But after a sophisticated treatment using IDL a new image is created C-ASUD....
The problem is that IDL works with 32 floating ( I think ) and Imagemagick and the fonction normalize are clearly not working the same way with that than with the original file ASUD which header is :
SIMPLE = T / file does conform to FITS standard
BITPIX = 16 / number of bits per data pixel
NAXIS = 2 / number of data axes
NAXIS1 = 4096 / length of data axis 1
NAXIS2 = 4096 / length of data axis 2
EXTEND = T / FITS dataset may contain extensions
COMMENT = 'ASTEPSUD'
COMMENT Astrophysics Supplement Series v44/p363, v44/p371, v73/p359, v73/p365.
COMMENT Contact the NASA Science Office of Standards and Technology for the
COMMENT FITS Definition document #100 and other FITS information.
BZERO = 32768 / offset data range to that of unsigned short
BSCALE = 1 / default scaling factor
Can you help me ? I have tried -depth 32 -define:quantum .... -colors etc... But After the normalization the Stars did never appeared ! (Solutions I found in a previous topic but they didn't work out for me )
If someone want the two files I can provide them ! Just leave an email by MP !
Best Regards
Problem with depth ( or smthg else ) with FITS files
Re: Problem with depth ( or smthg else ) with FITS files
Post a URL to one or a few of your FiTS images. We need to download it and reproduce the problem before we can offer any help.
Re: Problem with depth ( or smthg else ) with FITS files
Here come my files ...
http://dl.free.fr/rOM8F2lJD The ASUD file with a working normalization, directly from the CCD.
http://dl.free.fr/rFPYdVBbF The C-ASUD after treatment of the ASUD one by IDL. Normalization not working !
For help : If in IDL we ask to save the C-ASUD file using unsignedint then the normalization is working well with it but for physical studies we need to save like it is on the URL !
Thanks for your incoming help !
PS: Clic on "Télécharger ce fichier" (underlined) on the third line under "Service d'envoi de fichiers http://dl.free.fr"
http://dl.free.fr/rOM8F2lJD The ASUD file with a working normalization, directly from the CCD.
http://dl.free.fr/rFPYdVBbF The C-ASUD after treatment of the ASUD one by IDL. Normalization not working !
For help : If in IDL we ask to save the C-ASUD file using unsignedint then the normalization is working well with it but for physical studies we need to save like it is on the URL !
Thanks for your incoming help !
PS: Clic on "Télécharger ce fichier" (underlined) on the third line under "Service d'envoi de fichiers http://dl.free.fr"
Re: Problem with depth ( or smthg else ) with FITS files
Download http://www.imagemagick.org/C-ASUD-2008- ... -30-11.png. Is this close to what you are looking for? We're using ImageMagick 6.5.3-3 at Q16. You can create a Q32 version of ImageMagick for additional precision or try an HDRI version.
Re: Problem with depth ( or smthg else ) with FITS files
I am trying to install from source the 6.5.3-3 version on ubuntu but It is not working !
Can you release me the binairies ?
Can you release me the binairies ?
Re: Problem with depth ( or smthg else ) with FITS files
We don't do binaries. Typically you grab the .gz source distribution and type
- tar xvfz ImageMagick-6.5.3-3.tar.gz
cd ImageMagick-6.5.3
./configure
make
make install