Fits file does not seem to be read correctly
Posted: 2016-12-10T04:46:21-07:00
Hi!
If I convert a fits file which is underexposed, I get strange values for the mean in the red channel:
$ convert test.fits -format "%[mean]\n" info:
35317.5
2984.76
4756.72
The image should have the highest mean in the blue channel. Pixinsight report the following "8-bit" means
mean 9.6 11.9 18.9
Iris (http://www.astrosurf.com/buil/iris/) report the same values as Pixinsight, so it is two agains one
The ratios between the blue and green channels agree with the ratio from pixinsight and iris, but the red is way off. If I do the same for another fits image (which is overexposed), the values match pretty well.
Here is the image https://drive.google.com/file/d/0B182-t ... sp=sharing
Here is my version:
pi@observatory:~ $ convert --version
Version: ImageMagick 6.8.9-9 Q16 arm 2016-11-27 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules OpenMP
Delegates: bzlib cairo djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png rsvg tiff wmf x xml zlib
Best Regards,
U
If I convert a fits file which is underexposed, I get strange values for the mean in the red channel:
$ convert test.fits -format "%[mean]\n" info:
35317.5
2984.76
4756.72
The image should have the highest mean in the blue channel. Pixinsight report the following "8-bit" means
mean 9.6 11.9 18.9
Iris (http://www.astrosurf.com/buil/iris/) report the same values as Pixinsight, so it is two agains one
The ratios between the blue and green channels agree with the ratio from pixinsight and iris, but the red is way off. If I do the same for another fits image (which is overexposed), the values match pretty well.
Here is the image https://drive.google.com/file/d/0B182-t ... sp=sharing
Here is my version:
pi@observatory:~ $ convert --version
Version: ImageMagick 6.8.9-9 Q16 arm 2016-11-27 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules OpenMP
Delegates: bzlib cairo djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png rsvg tiff wmf x xml zlib
Best Regards,
U