Package mgui.io.foreign.trackvis
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 Summary
Fields Modifier and Type Field Description short[]
dim
int
hdr_size
char[]
id_string
float[]
image_orientation_patient
byte
invert_x
byte
invert_y
byte
invert_z
int
n_count
short
n_properties
short
n_scalars
float[]
origin
char[]
pad1
char[]
pad2
char[][]
property_name
char[][]
scalar_name
byte
swap_xy
byte
swap_yz
byte
swap_zx
int
version
char[]
voxel_order
float[]
voxel_size
-
Constructor Summary
Constructors Constructor Description TrackVisTractHeader()
-
Method Summary
Modifier and Type Method Description void
readHeader(java.io.File file)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
-