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

Francesca

E-mail

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by Francesca View all
Updated File Comments Rating
09 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,

you're right, I've tried to open the .nii file with MRIcro and an error about expected header dimensions appears. The wrog step is probably when i try to export .roi to .nii, but actually there's no other way to do it with MRIcro. I'll try to find some other way!

Thanks a lot for your help and thanks again for your nifti tool!

francesca

06 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

Dear Jimmy,

i'm just a beginner with all this "nifti imaging world" but I've already done enough for understanding that you've done a very great and smart job!thanks!

Well, i have a problem with loading a .nii file. (obtained by exporting a .ROI file with MRIcro). I'll post the error that i get:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

>> ROI=load_nii('lCC_19850624TRTN_2x2x2_b1000_a_fa.nii');
??? Error using ==> reshape
To RESHAPE the number of elements must not change.

Error in ==> load_nii_img>read_image at 266
img = squeeze(reshape(img, [hdr.dime.dim(2:4) length(img_idx)]));

Error in ==> load_nii_img at 62
[img,hdr] = read_image(hdr,filetype,fileprefix,machine,img_idx,old_RGB);

Error in ==> load_nii at 66
[nii.img,nii.hdr] = ...

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Could you help me?

Thanks a lot and all the best!

francesca

Contact us