Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save fedorov/8ef015531aead6346ff53142b54a02f1 to your computer and use it in GitHub Desktop.

Select an option

Save fedorov/8ef015531aead6346ff53142b54a02f1 to your computer and use it in GitHub Desktop.
nibabel difference between TCIA-GBM segmentation headers
LargestPossibleRegion:
Dimension: 3
Index: [0, 0, 0]
Size: [240, 240, 155]
BufferedRegion:
Dimension: 3
Index: [0, 0, 0]
Size: [240, 240, 155]
RequestedRegion:
Dimension: 3
Index: [0, 0, 0]
Size: [240, 240, 155]
Spacing: [1, 1, 1]
Origin: [0, 0, 0]
Direction:
1 0 0
0 1 0
0 0 1
LargestPossibleRegion:
Dimension: 3
Index: [0, 0, 0]
Size: [240, 240, 155]
BufferedRegion:
Dimension: 3
Index: [0, 0, 0]
Size: [240, 240, 155]
RequestedRegion:
Dimension: 3
Index: [0, 0, 0]
Size: [240, 240, 155]
Spacing: [1, 1, 1]
Origin: [0, -239, 0]
Direction:
1 0 0
0 1 0
0 0 1
sizeof_hdr : 348
data_type :
db_name :
extents : 0
session_error : 0
regular : r
dim_info : 0
dim : [ 3 240 240 155 1 1 1 1]
intent_p1 : 0.0
intent_p2 : 0.0
intent_p3 : 0.0
intent_code : none
datatype : uint8
bitpix : 8
slice_start : 0
pixdim : [ 1. 1. 1. 1. 0. 0. 0. 0.]
vox_offset : 0.0
scl_slope : nan
scl_inter : nan
slice_end : 0
slice_code : unknown
xyzt_units : 2
cal_max : 0.0
cal_min : 0.0
slice_duration : 0.0
toffset : 0.0
glmax : 0
glmin : 0
descrip :
aux_file :
qform_code : scanner
sform_code : scanner
quatern_b : 0.0
quatern_c : 0.0
quatern_d : 1.0
qoffset_x : -0.0
qoffset_y : -0.0
qoffset_z : 0.0
srow_x : [-1. -0. -0. -0.]
srow_y : [-0. -1. -0. -0.]
srow_z : [ 0. 0. 1. 0.]
intent_name :
magic : n+1
sizeof_hdr : 348
data_type :
db_name :
extents : 0
session_error : 0
regular : r
dim_info : 0
dim : [ 3 240 240 155 1 1 1 1]
intent_p1 : 0.0
intent_p2 : 0.0
intent_p3 : 0.0
intent_code : none
datatype : uint8
bitpix : 8
slice_start : 0
pixdim : [ 1. 1. 1. 1. 0. 0. 0. 0.]
vox_offset : 0.0
scl_slope : nan
scl_inter : nan
slice_end : 0
slice_code : unknown
xyzt_units : 2
cal_max : 0.0
cal_min : 0.0
slice_duration : 0.0
toffset : 0.0
glmax : 0
glmin : 0
descrip :
aux_file :
qform_code : scanner
sform_code : scanner
quatern_b : 0.0
quatern_c : 0.0
quatern_d : 1.0
qoffset_x : -0.0
qoffset_y : 239.0
qoffset_z : 0.0
srow_x : [-1. -0. -0. -0.]
srow_y : [ -0. -1. -0. 239.]
srow_z : [ 0. 0. 1. 0.]
intent_name :
magic : n+1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment