Class TrackVisTractHeader

java.lang.Object
mgui.io.foreign.trackvis.TrackVisTractHeader

public class TrackVisTractHeader
extends java.lang.Object
Data structure for a TrackVis tract file header. See http://www.trackvis.org/docs/?subsect=fileformat.
Author:
Andrew Reid
  • Field Details

    • id_string

      public char[] id_string
    • dim

      public short[] dim
    • voxel_size

      public float[] voxel_size
    • origin

      public float[] origin
    • n_scalars

      public short n_scalars
    • scalar_name

      public char[][] scalar_name
    • n_properties

      public short n_properties
    • property_name

      public char[][] property_name
    • voxel_order

      public char[] voxel_order
    • pad2

      public char[] pad2
    • image_orientation_patient

      public float[] image_orientation_patient
    • pad1

      public char[] pad1
    • invert_x

      public byte invert_x
    • invert_y

      public byte invert_y
    • invert_z

      public byte invert_z
    • swap_xy

      public byte swap_xy
    • swap_yz

      public byte swap_yz
    • swap_zx

      public byte swap_zx
    • n_count

      public int n_count
    • version

      public int version
    • hdr_size

      public int hdr_size
  • Constructor Details

    • TrackVisTractHeader

      public TrackVisTractHeader()
  • Method Details

    • readHeader

      public void readHeader​(java.io.File file) throws java.io.IOException
      Throws:
      java.io.IOException