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



Personal Profile:


Watch this Author's files


Comments and Ratings by Priya
Updated File Comments Rating
31 Aug 2011 Tools for NIfTI and ANALYZE image Load, save, make, reslice, view (and edit) both NIfTI and ANALYZE data on any platform Author: Jimmy Shen

I am using Tools for NIfTI and ANALYZE image. It is really helpful and my sincere thanks to share your work for the research community.

I am using the images in .hdr and .img format. I am trying to change the pixel value 1 into 5 and then save it as .img. I viewed the saved images using the function view_nii. I could find the pixel value as 5, which i did. But if i open these images in viewer like MRIcroN and FSLVIEW it shows a pixel value as 0.01961. I could not find the reason. Can you please help me in finding the solution to the above problem. I can see that GMax of the output image is 5. But for the input image it is 0.
I have put the lines of code which were used by me.

I would like to send my input file, so it would be better to know my issue. Please let me know a way to send my input file.

[nii1.hdr,nii1.filetype,nii1.fileprefix,nii1.machine] = load_nii_hdr('1sub_110_A-128_5med');
[nii1.img,nii1.hdr] = load_nii_img(nii1.hdr,nii1.filetype,nii1.fileprefix,nii1.machine);
z=find(nii1.img); %number of index---4610

Thanks in advance for your help

Contact us