Print

Print


Thank you, Steve.
   
  When I load a zstat1.nii image into Matlab I get a 128x256x256 matrix (img).  I assume the indices correspond to the x, y and z coordinates. However, when I look at the the value of, let's say 
  img(35,134,135) 
  I get a slightly different value in Matlab (value=6.2477)  than when looking up the same x,y,z voxel coordinates with FSLview (value=6.49102).
   
  Does anyone why that's the case?
   
  Thaks,
   
  Sandy
   
  
Steve Smith <[log in to unmask]> wrote:
  Indeed - you could do this by hand in FSLView, or yes matlab is a 
good option, you can use the save_avw etc function in $FSLDIR/etc/ 
matlab to save to file.
Cheers.



On 18 Feb 2007, at 22:08, [log in to unmask] wrote:

> Hi FSLers,
>
> I was wondering if anybody could point me into the rigth direction 
> with my question. I want to write specific values directly to xyz 
> coordinates in a nifti file. Are there UNIX or Matlab based 
> programs/scripts you can recommend that will do that in a somewhat 
> straighforward manner?
>
> Thanks a lot,
>
> Sandy
>
> The fish are biting.
> Get more visitors on your site using Yahoo! Search Marketing.


------------------------------------------------------------------------ 
---
Stephen M. Smith, Professor of Biomedical Engineering
Associate Director, Oxford University FMRIB Centre

FMRIB, JR Hospital, Headington, Oxford OX3 9DU, UK
+44 (0) 1865 222726 (fax 222717)
[log in to unmask] http://www.fmrib.ox.ac.uk/~steve
------------------------------------------------------------------------ 
---


 
---------------------------------
Never Miss an Email
Stay connected with Yahoo! Mail on your mobile. Get started!