資源簡介
適用于matlab讀取.nii格式的文件 腦部MR圖像處理。
NIfTI這個Matlab程序可以讀取顯示、保存、制作核磁共振圖像。 具體如下: >> [hdr,filetype,fileprefix,machine] = load_nii_hdr('output.hdr'); >> [img,hdr] = load_nii_img(hdr,filetype,fileprefix,machine); >> save_nii(nii, filename, [old_RGB]);
代碼片段和文件信息
%??Using?2D?or?3D?affine?matrix?to?rotate?translate?scale?reflect?and
%??shear?a?2D?image?or?3D?volume.?2D?image?is?represented?by?a?2D?matrix
%??3D?volume?is?represented?by?a?3D?matrix?and?data?type?can?be?real?
%??integer?or?floating-point.
%
%??You?may?notice?that?MATLAB?has?a?function?called?‘imtransform.m‘?for
%??2D?spatial?transformation.?However?keep?in?mind?that?‘imtransform.m‘
%??assumes?y?for?the?1st?dimension?and?x?for?the?2nd?dimension.?They?are
%??equivalent?otherwise.
%
%??In?addition?if?you?adjust?the?‘new_elem_size‘?parameter?this?‘affine.m‘
%??is?equivalent?to?‘interp2.m‘?for?2D?image?and?equivalent?to?‘interp3.m‘
%??for?3D?volume.
%
%??Usage:?[new_img?new_M]?=?...
% affine(old_img?old_M?[new_elem_size]?[verbose]?[bg]?[method]);
%
%??old_img
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????206445??2014-01-22?22:26??FAQ.pdf
?????文件????????8813??2008-08-27?20:19??save_untouch0_nii_hdr.m
?????文件????????9497??2011-05-02?12:37??save_nii_hdr.m
?????文件????????3929??2011-02-16?00:19??examples.txt
?????文件???????10138??2013-11-20?22:31??reslice_nii.m
?????文件????????7006??2013-03-06?22:16??load_nii.m
?????文件????????5665??2011-06-10?15:57??make_ana.m
?????文件???????61950??2014-01-22?22:26??NIfTI_tools.pdf
?????文件???????16664??2008-10-23?18:22??affine.m
?????文件????????2300??2005-04-10?14:11??rri_xhair.m
?????文件????????1221??2006-06-27?19:45??unxform_nii.m
?????文件???????17235??2005-03-29?19:21??rri_select_file.m
?????文件???????20263??2013-03-06?22:16??save_untouch_slice.m
?????文件????????5635??2005-11-28?17:51??rri_orient_ui.m
?????文件????????1015??2008-04-03?18:12??save_nii_ext.m
?????文件????????2691??2008-07-07?14:15??mat_into_hdr.m
?????文件???????15224??2011-06-09?15:03??load_untouch_nii_img.m
?????文件????????4682??2008-08-21?19:40??bresenham_line3d.m
?????文件???????10311??2012-10-12?20:34??load_nii_hdr.m
?????文件????????2203??2013-04-22?17:06??save_untouch_header_only.m
?????文件????????7038??2013-03-06?22:14??collapse_nii_scan.m
?????文件???????91343??2014-01-22?22:25??UseANALYZE.pdf
?????文件????????8721??2008-08-27?20:22??save_untouch_nii_hdr.m
?????文件????????7255??2013-03-06?22:15??load_untouch_header_only.m
?????文件???????14895??2012-04-12?18:20??view_nii_menu.m
?????文件????????7105??2011-09-01?14:36??make_nii.m
?????文件????????8085??2005-08-14?19:58??extra_nii_hdr.m
?????文件????????3568??2009-07-03?19:55??flip_lr.m
?????文件????????1721??2008-09-08?20:32??verify_nii_ext.m
?????文件??????144481??2013-07-18?19:26??view_nii.m
?????文件????????6373??2013-03-06?22:15??load_untouch_nii.m
............此處省略16個文件信息
- 上一篇:數學建模 長江水質的評價和預測
- 下一篇:Lansvd奇異值分解
評論
共有 條評論