img2tif - tpcclib 0.8.0 © 2023 by Turku PET Centre

Extract the matrices of an ECAT 6.3 or ECAT 7 image or sinogram, or
NIfTI, Analyze 7.5, or microPET image, to TIFF 6.0 image.
 
Usage: img2tif [Options] imgfile [tiffile]
 
Options:
 -p=<Plane>
     A specified image plane is extracted; by default all planes.
 -f=<Frame>
     A specified image frame is extracted; by default all frames.
 -s[=Value]
     Color scale of output images is fixed from 0 to max of all
     image matrices, or from 0 to Value.
 -L
     Log10 transform.
 -L1
     Log10 transform, adding 1 to pixel values before transform.
 -rb
     Apply rainbow colorscale instead of default grayscale.
 -rbw
     Apply rainbow colorscale with white background.
 -gr
     Apply grayscale (0=black, highest=white).
 -gi
     Apply inverse grayscale; default.
 -th=<nr>
     Number of matrices tiled horizontally; set to a large value to draw
     all matrices in one row.
 -tv=<nr>
     Number of matrices tiled vertically; set to a large value to draw
     all matrices in one column.
 -h, --help
     Display usage information on standard output and exit.
 -v, --version
     Display version and compile information on standard output and exit.
 -d[n], --debug[=n], --verbose[=n]
     Set the level (n) of debugging messages and listings.
 -q, --quiet
     Suppress displaying normal results on standard output.
 -s, --silent
     Suppress displaying anything except errors.
 
Example 1: Make TIFF of plane 8 and frame 17, which is yet scaled to
the level of whole image maximum:
  img2tif -s -p=8 -f=17 s2345dy1.v s2345_pl08_fr17.tif
Example 2: Make TIFF of all image matrices in rainbow color scale:
  img2tif -rb s2345sum.img s2345sum.tif
Example 3: Make TIFF of all image matrices, scaling the colors to value 3:
  img2tif -S=3 a3456bp.v a3456bp.tif
 
See also: imgslice, imgmax, imgthrs, imgunit, img2flat
 
Keywords: image, sinogram, TIFF