Hi Saurabh,
On Mar 4, 2014, at 07:56 , Saurabh Thakur srbhthkr@gmail.com wrote:
Hi Markus Gschwind,
I am using Matlab 7.12.0.635 (R2011a),
I am not able to read the dicom image neither brain.mgz file nor the surface file in matlab.
I have added these file in matlab directory.
Comment or error i m getting is :
for example :
load_dicom_fl(IM_0001)
??? Undefined function or variable 'IM_0001'.
2nd example :
MRIread(brain.mgz,brainMRI.hdr)
??? Undefined variable "brain" or function "brain.mgz".
You need to supply the full path to the volumes in a string, so assuming you called matlab from the same directory where brain.mgz is located, or used mat lab's "cd('/patrh/to/your/data')" to make sure you are there. Then simply calling "MRIread('brain.mgz');" should do the trick; note: only put the stuff between the double quotes into the matlab command window.
best Sebastian
I looking forward to work on matlab along with freesurfer.
Looking for your reply asap. Thanks for reply.
cheers Saurabh Thakur,
On Tue, Mar 4, 2014 at 12:17 PM, markus.gschwind@gmail.com wrote: Hi!
Can you specify what happens when you try to read the files?
On 4 mars 2014, at 06:44, Saurabh Thakur srbhthkr@gmail.com wrote:
Hello Freesurfer,
I am trying to runs MRIread.m file in matlab.
But it is not reading the brain.mgz or any other format.
Can u help in this regards.
Thanks in advance,
cheers Saurabh Thakur,
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu 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.
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu 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.