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,
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.
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".*
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
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.
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.
Thanks Sebastian.
Will take a note of it.
cheers Saurabh Thakur,
On Tue, Mar 4, 2014 at 1:20 PM, Sebastian Moeller < sebastian.moeller1@rwth-aachen.de> wrote:
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, soassuming 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
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
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.
Try vol = MRIread('brain.mgz')
On 03/04/2014 01:56 AM, Saurabh Thakur 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".*
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 mailto: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 <mailto: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 <mailto: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
Hi Saurabh
in general we can't help you unless you give us more information, like the screen output of the command you ran that failed.
cheers Bruce On Tue, 4 Mar 2014, Saurabh Thakur 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@nmr.mgh.harvard.edu