Rank: 63249 based on 0 downloads (last 30 days) and 0 file submitted
photo

Wei Liu

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Wei View all
Updated File Comments Rating
08 Nov 2009 Tools for NIfTI and ANALYZE image Load, save, make, reslice, view (and edit) both NIfTI and ANALYZE data on any platform Author: Jimmy Shen

OK I think I found the parameter for scaling: they are hdr.dime.scl_slope and hdr.dime.scl_inter. Now I know how these packages works, and I can scale the voxel intensity myself if I want. Sorry for the cursory questions, and thanks for the good tool! -Wei

08 Nov 2009 Tools for NIfTI and ANALYZE image Load, save, make, reslice, view (and edit) both NIfTI and ANALYZE data on any platform Author: Jimmy Shen

Hi Jimmy,

When reading a nifti file I found the voxel gray values are different with other tools. What I did is:
- 'untouch load' the file: fmri_mean = load_untouch_nii(.../meanfM00223_004');
- print voxel value of mri_mean.img(32,32,23). The value is 9506.
- But when I open the same file with fslview, I found the same voxel has different value. And other voxels are also different. the fslview snapshot is attached. Because in fslview the voxel coordinates begins from 0 to dim-1, the same voxel in fslview has coordinate [31 31 22].

- Use the application 'Imageviewer' from itk, and found the voxel value is same with fslview. Also attached snapshot. Same to fslview the coordinate are [31 31 22] for the same voxel.

- check the header of the nifti file by fsl tool 'fslhd':
datatype 4
nbyper 2
bitpix 16

That means it's int16.

-Check the fmri_mean structure in matlab, and found the data type is 4:
datatype: 4
bitpix: 16

But why did your nifti tool give different gray value with other packages? I put all the snapshot and the nifti files at www.sci.utah.edu/~weiliu/q01/ for your reference.

By the way this is excellent tool. Thanks!
Wei

19 Aug 2009 matlab.el 1.10.1 : Edit .m files MATLAB editing mode for early versions of emacs Author: Matthew Wette

I've downloaded and did the configuration in .emacs file. But when I open a .m file with emacs, it gave error "can not find mlint file". My Matlab is not installed on the local file system, but on a network directory. I'm using opensuse 10.3. Any one having experience on this can give me a clue? I guess I have to edit the matlab.el file to tell the add-on where the matlab bin directory is. Thanks.

Contact us