Login  Register

Re: Multi image FITS file & Suggestions for Wayne

Posted by Leonard Sitongia on Apr 23, 2008; 4:52pm
URL: http://imagej.273.s1.nabble.com/Re-Multi-image-FITS-file-tp3696394p3696398.html

Frederic V. Hessman wrote:

>
> The other problem is that ImageJ still won't let you calibrate each of
> the axes individually (the microscope assumption is that the 2-D
> images have axes in the same physical space), whereas N-dimensional
> FITS images can easily have N different axes.  Taking care of this
> problem would be a great future upgrade for ImageJ, since there are
> people out there using ImageJ for things like sonograms and such.  The
> present calibration would be OK for 3-D images with one FITS header if
> each axis had it's own unit (right now there's just a single, global
> unit like "pixels") but certainly isn't prepared for multi-header FITS
> images (I have no idea what TIFF images are like in this respect).  If
> only people doing astronomy are worried about this issue, then we'll
> have to have separate plugins which read and write FITS headers and
> which may get out-of-sync with the less-general Calibration.
>
>     - suggestion #3:        Extend Calibration to handle independent
> axes instead of the present historical mix of 2-D imaging and
> video-stacks (NICE-TO-HAVE)

Wayne added some support for this in 1.39e, kindly in response to my
raising this issue.  He had said:

> In ImageJ 1.39e (attached), I added setXUnit(String),
> setYUnit(String), setZUnit(String), getXUnit(), getYUnit() and
> getZUnit() methods to the Calibration class. These methods are
> currently not used anywhere in ImageJ.
I haven't checked to see if this is in the official release.

--
==Leonard E. Sitongia
   High Altitude Observatory
   National Center for Atmospheric Research
   P.O. Box 3000 Boulder CO 80307  USA
   [hidden email]  voice: (303)497-2454  fax: (303)497-1589