Hi
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.