AstroImageJ / astroimagej

http://astroimagej.com
GNU General Public License v3.0
15 stars 10 forks source link

Read of 32-bit int FITS Files as floating point #51

Open keastrid opened 2 years ago

keastrid commented 2 years ago

While the FITS_Reader receives a correct pixel array for the ImageType, the resulting ImagePlus/Processor displays highly skewed values.

This is not the case when a 32-bit int image is created (such as with the PhotometricDebayer, when ImageType is returning an IntProcessor).

For now, these images are read in as floating points, similar to the 64bit counterparts.