Login  Register

Changing info for substack

Posted by Information Ocean on Oct 27, 2014; 2:55am
URL: http://imagej.273.s1.nabble.com/Changing-info-for-substack-tp5010195.html

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