Login  Register

Re: Changing info for substack

Posted by Michael Entrup on Oct 27, 2014; 9:09am
URL: http://imagej.273.s1.nabble.com/Changing-info-for-substack-tp5010195p5010198.html

Hi János,

I think the first 8 lines of the image info are specific for your FITS
file and ImageJ/Fiji treats them as a generic file info. Only the part
below the '………' is changed by ImageJ/Fiji. It is impossible to handle
all image infos of any file type ImageJ/Fiji can open. If there is an
export plugin for FITS files, it is its part to convert the default
image info back to a FITS file info, but only when saving the file and
not while processing it.

Best regards
Michael


Am 27.10.2014 um 03:55 schrieb Information Ocean:

> Hi,
>
> I have a fits file containing 283 frames.  Here is some lines from the info:
>
> SIMPLE  =                    T
> BITPIX  =                   16
> NAXIS   =                    3
> NAXIS1  =                  256
> NAXIS2  =                  256
> NAXIS3  =                  283
> BZERO   = 32768.0
> BSCALE  = 1.0
> …
> …
> …
>
> Title: ax1a0.001.fits.seg.fit
> Width:  256 pixels
> Height:  256 pixels
> Depth:  283 pixels
> Voxel size: 1x1x1 pixel
> ID: -11
> Coordinate origin:  0,0,0
> Bits per pixel: 16 (unsigned)
> Display range: 32759 - 39213
> Image: 1/283
>
> When I create a 234 frame sub-stack of it with: Image->Stacks->Tools->Make Substack the substack is created and the info shows:
>
> SIMPLE  =                    T
> BITPIX  =                   16
> NAXIS   =                    3
> NAXIS1  =                  256
> NAXIS2  =                  256
> NAXIS3  =                  283
> BZERO   = 32768.0
> BSCALE  = 1.0
> …
> …
> …
> Title: Substack (1-234)
> Width:  256 pixels
> Height:  256 pixels
> Depth:  234 pixels
> Voxel size: 1x1x1 pixel
> ID: -13
> Coordinate origin:  0,0,0
> Bits per pixel: 16 (unsigned)
> Display range: 32759 - 39213
> Image: 1/234
>
> So the question is, if I can also update the NAXIS3= 283  to NAXIS3=234 from inside ImageJ.  I myself do not see how.
>
> Thanks ahead,
> János
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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