Login  Register

Re: FITS Format Support

Posted by ctrueden on Jan 08, 2015; 8:44pm
URL: http://imagej.273.s1.nabble.com/FITS-Format-Support-tp5011134p5011137.html

Hi Michael,

> I have a FITS file containing 2 images within the file, but ImageJ
> looks like it only recognizes the first image. Is there a way to get
> to that second image?

Did you try using Bio-Formats [1]? It supports multi-plane FITS files
(NAXIS3 > 1).

> I have been using the ImageJ library

Bio-Formats is usable as a standalone Java library [2] and also has an
ImageJ-compatible API (e.g., [3]).

Regards,
Curtis

[1] http://fiji.sc/Bio-Formats
[2] http://openmicroscopy.org/info/bio-formats/developers/java-library.html
[3]
https://github.com/openmicroscopy/bioformats/blob/v5.0.6/components/bio-formats-plugins/utils/Simple_Read.java

On Thu, Jan 8, 2015 at 12:44 PM, Cayanan, Michael D (398G) <
[hidden email]> wrote:

> Hi,
>
> I have been using the ImageJ library to read FITS images and converting
> them to jpeg, gif, etc.
>
> I have a FITS file containing 2 images within the file, but ImageJ looks
> like it only recognizes the first image. Is there a way to get to that
> second image?
>
> Thanks in advance for your help,
> Michael
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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