Which the version of Matlab has a 'MRIread' function? I got this error
message from my installed Matlab (v. 8.4.0).

"Undefined function 'MRIread' for input arguments of type 'char'."

Best Regards,
Aziz.

On Mon, Sep 5, 2016 at 6:46 AM, Bruce Fischl <[email protected]>
wrote:

> yup, or mri_Info called form the command line. If you use MRIread on the
> aseg.mgz you can extract e.g. the left hippocampus using matlab via:
>
>
> mri = MRIread('aseg.mgz');
> find(mri.vol == 17);
> then compute the ras coords of those indices using ind2sub
>
> cheers
> Bruce
>
>
> On Sun, 4 Sep 2016, Ruyuan Zhang wrote:
>
>
>> Hi, Aziz
>>
>>      You can use MRIread function to read in a volume (i.e.
>> brainmask.mgz).
>> You will get a structure, which contains a field called ras2vox.
>>
>> cheers
>>
>> ruyuan
>>
>> On 9/4/16 6:23 PM, Aziz Nanthaamornphong wrote:
>>       Hi,
>> For example, I want to know the list of x, y, z coordinates of a left
>> hippocampus volume.
>>
>> As you mentioned "ras2vox" matrices, hoe can I see or get these
>> matrices?
>>
>> Thank you.
>> Aziz
>>
>> On Monday, 5 September 2016, Bruce Fischl <[email protected]>
>> wrote:
>>       Hi Aziz
>>
>>       can you elaborate? What coordinates do you want? What are
>>       you trying to do with them? The .mgz format contains
>>       ras2vox matrices that let you go from voxel indices to RAS
>>       coordinates and such.
>>
>>
>>       cheers
>>       Bruce
>>
>>
>>       On Sun, 4 Sep 2016, Aziz Nanthaamornphong wrote:
>>
>>             Dear Freesurfer experts,
>>             How can we get the coordinates (X, Y, Z) of a
>>             particular volume? I couldn't
>>             find any functions or command to do that.
>>
>>             Thank you in advance.
>>
>>             Aziz.
>>
>>
>>
>>
>> --
>>
>> Aziz Nanthaamornphong, Ph.D.,
>> Chair of Master of Science Program in Information Technology
>> Department of ICT
>> Faculty of Technology and Environment
>> Prince of Songkla University, Phuket Campus
>> +66 7627 6716 (v)
>> http://research.te.psu.ac.th/aziz
>>
>>
>>
>>
>> _______________________________________________
>> Freesurfer mailing list
>> [email protected]
>> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
>>
>>
>> The information in this e-mail is intended only for the person to whom it
>> is
>> addressed. If you believe this e-mail was sent to you in error and the
>> e-mai
>> l
>> contains patient information, please contact the Partners Compliance
>> HelpLin
>> e at
>> http://www.partners.org/complianceline . If the e-mail was sent to you
>> in er
>> ror
>> but does not contain patient information, please contact the sender and
>> prop
>> erly
>> dispose of the e-mail.
>>
>>
>>
>>
> _______________________________________________
> Freesurfer mailing list
> [email protected]
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
>
>
> The information in this e-mail is intended only for the person to whom it
> is
> addressed. If you believe this e-mail was sent to you in error and the
> e-mail
> contains patient information, please contact the Partners Compliance
> HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in
> error
> but does not contain patient information, please contact the sender and
> properly
> dispose of the e-mail.
>
>


-- 

Aziz Nanthaamornphong, Ph.D.,
Chair of Master of Science Program in Information Technology
Department of ICT
Faculty of Technology and Environment
Prince of Songkla University, Phuket Campus
+66 7627 6716 (v)
http://research.te.psu.ac.th/aziz
_______________________________________________
Freesurfer mailing list
[email protected]
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to