fits files

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

fits files

Adrian Martin
Hello list,

I deal mostly with FITS files and have found ImageJ to be a very useful tool - thank you.

I’ve only just realised that the way ImageJ handles FITS files changed in v1.52p 22 June 2019, when, according to the release notes, “the FITS Reader no longer flips images vertically so inspection of pixels will produce the expected values”.

I don’t want to get into whether flipping or not flipping is correct or direct how ImageJ should be handling data, but as all of my images are now upside-down I’d like to do something about that.  Clearly I could “transform/flip vertically” every time I load an image, or modify FITS_Reader, but is there a better way? Like extend the FITS reader in a plugin maybe.  I’d appreciate your comments.

regards,
Dr Adrian Martin
Sensor Sciences,  3333 Vincent Road, Suite 103, Pleasant Hill, CA 94523
(925) 296 0848 phone, (925) 296 0849 fax


--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: fits files

Wayne Rasband-2
> On May 29, 2020, at 2:20 PM, adrian martin <[hidden email]> wrote:
>
> Hello list,
>
> I deal mostly with FITS files and have found ImageJ to be a very useful tool - thank you.
>
> I’ve only just realised that the way ImageJ handles FITS files changed in v1.52p 22 June 2019, when, according to the release notes, “the FITS Reader no longer flips images vertically so inspection of pixels will produce the expected values”.

Upgrade to the latest ImageJ daily build (1.53b42) and add

   setOption("FlipFitsImages",true);

to the Edit>Options>Startup dialog.

-wayne

> I don’t want to get into whether flipping or not flipping is correct or direct how ImageJ should be handling data, but as all of my images are now upside-down I’d like to do something about that.  Clearly I could “transform/flip vertically” every time I load an image, or modify FITS_Reader, but is there a better way? Like extend the FITS reader in a plugin maybe.  I’d appreciate your comments.
>
> regards,
> Dr Adrian Martin

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html