[ITK-users] itk mhd header

swetha swetha.bsharma at gmail.com
Thu Sep 15 03:26:38 EDT 2016


Hi,

  I have this mhd file header 

ObjectType = Image
NDims = 3
BinaryData = True
BinaryDataByteOrderMSB = False
CompressedData = False
TransformMatrix = 1 0 0 0 1 0 0 0 1
Offset = 0 0 0
CenterOfRotation = 0 0 0
AnatomicalOrientation = RAI
ElementSpacing = 1 1 1
bitpix = 8
cal_max = 256
cal_min = 0
datatype = 2
dim[0] = 4
dim[1] = 480
dim[2] = 480
dim[3] = 256
dim[4] = 1
dim[5] = 1
dim[6] = 0
dim[7] = 0
dim_info =  
intent_code = 0
intent_p1 = 1.86143e+034
intent_p2 = 0
intent_p3 = 0
pixdim[0] = 0
pixdim[1] = 1
pixdim[2] = 1
pixdim[3] = 1
pixdim[4] = 0
pixdim[5] = 0
pixdim[6] = 0
pixdim[7] = 0
qform_code = 0
qoffset_x = 0
qoffset_y = 0
qoffset_z = 0
quatern_b = 0
quatern_c = 0
quatern_d = 0
scl_inter = 0
scl_slope = 1
sform_code = 0
slice_code =  
slice_duration = 0
slice_end = 0
slice_start = 0
srow_x = 0 0 0 0
srow_y = 0 0 0 0
srow_z = 0 0 0 0
toffset = 0
vox_offset = 0
xyzt_units =  
DimSize = 480 480 256
ElementType = MET_SHORT
ElementDataFile = usg2_-2.raw

I want to know what the tags mean so that i can write a function to parse
and display the image.
-swetha




--
View this message in context: http://itk-insight-users.2283740.n2.nabble.com/itk-mhd-header-tp7589210.html
Sent from the ITK Insight Users mailing list archive at Nabble.com.


More information about the Insight-users mailing list