Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
keastrid opened this issue Mar 9, 2022 · 0 comments
Open

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

keastrid opened this issue Mar 9, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@keastrid
Copy link
Member

keastrid commented Mar 9, 2022

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.

@keastrid keastrid added the bug Something isn't working label Mar 9, 2022
keastrid added a commit that referenced this issue Mar 10, 2022
Read 32bit int fits files as floating point
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant