Re: roi values
2008-12-03 10:09:10 GMT
hello
you can get the milimetric value of the roi point. If your roi has been
defined in a volume which is in
the MNI space then you'll get the coordinates in MNI space ...
roi_o = maroi('roiname.mat')
sp = native_space(roi_o); %gives you the space of the image where the
roi was define
Pos = voxpts(roi_o,sp);
Pos will contain the coordinate in pixel space.
to converte it in milimeter :
Posmm = sp.mat(1:3,1:3)*Pos + repmat(sp.mat(1:3,4),1,size(Pos,2));
I hope this help
Romain
Jac501 a écrit :
> Dear users,
>
> Sorry, I've serched the forum and can't find an obvious answer to this.
>
>
> How do I extract roi x y z coordinates in MNI, or even better Tal space? I'm
> not interested in any stats, just cordinates for binary roi's to use with
> another program. At the moment I can on get centre of gravity from the .mat
> file.
(Continue reading)
RSS Feed