Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Anchor
    A1
    A1
    The width, length and bit depth of TIFF images can be determined in many different ways. For example, the Linux command tiffinfo can be used to print information about the input TIFF file(s) in the following way: tiffinfo [options] input1.tif input2.tif...

    For example,

    Code Block
    titleLinux command
    tiffinfo 06029.tif
    

    displays the following summary information:

    Code Block
    titleLinux output from tiffinfo
    TIFFReadDirectory: Warning, 06029.tif: unknown field with tag 65000 (0xfde8) encountered.
    TIFF Directory at offset 0x146d308 (21418760)
      Image Width: 4008 Image Length: 2672
      Bits/Sample: 16
      Sample Format: unsigned integer
      Compression Scheme: None
      Photometric Interpretation: min-is-black
      Samples/Pixel: 1
      Rows/Strip: 2672
      Planar Configuration: single image plane
      Make: Unknown
      Model: Unknown
      Tag 65000: 727733745.824557
  2. Anchor
    A2
    A2
    It is sometimes desirable to reconstruct a slab of slices rather than the complete set. The recon_arrayxml.py script is capable of accomplishing this task with the help of the F- and L-options. 
    For example,

    Code Block
    titleLinux command
    python2.6 /dls_sw/i13/software/gda/config/tomography_scripts/recon_arrayxml.py -I settings.xml -o ../../reconstruction/564/ -C 2000.5 -F 1299 -L 1300

    will reconstruct a slab consisting of exactly 1 slice (=1300-1299), namely that indexed 1299.