⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 c14.make.dsets

📁 DTMK软件开发包,此为开源软件,是一款很好的医学图像开发资源.
💻 DSETS
字号:

# - create datasets out of nothing
#
# - modify some fields and compare against other datasets

# just test a basic make im, mostly to capture the debug output
nifti_tool -make_im -debug 3 -new_dim 4 64 64 21 180 0 0 0 -prefix new_epi.nii

# compare hdr and nim in a fresh image to the existing one
nifti_tool -diff_hdr -new_dim 4 64 64 21 180 0 0 0      \
           -infiles MAKE_IM stat0.nii
nifti_tool -diff_nim -new_dim 4 64 64 21 180 0 0 0      \
           -infiles MAKE_IM stat0.nii

# clean up the nim by adjusting pixdim (from empty MAKE_IM)
nifti_tool -mod_hdr -new_dim 4 64 64 21 180 0 0 0               \
           -mod_field pixdim '0.0 4.0 4.0 6.0 3.0 1.0 1.0 1.0'  \
           -prefix epi_180_pixdim.nii -infiles MAKE_IM

# and compare again
nifti_tool -diff_nim -infiles stat0.nii epi_180_pixdim.nii

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -