Re: [Freesurfer] Matlab help

2014-03-04 Thread Saurabh Thakur
Thanks Sebastian.

Will take a note of it.


cheers
Saurabh Thakur,






On Tue, Mar 4, 2014 at 1:20 PM, Sebastian Moeller 
sebastian.moell...@rwth-aachen.de wrote:

 Hi Saurabh,


 On Mar 4, 2014, at 07:56 , Saurabh Thakur srbht...@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.gschw...@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 srbht...@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.


___
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.


Re: [Freesurfer] Matlab help

2014-03-04 Thread Bruce Fischl

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 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.


Re: [Freesurfer] Matlab help

2014-03-04 Thread Douglas N Greve


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.gschw...@gmail.com 
 mailto:markus.gschw...@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 srbht...@gmail.com
 mailto:srbht...@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

-- 
Douglas N. Greve, Ph.D.
MGH-NMR Center
gr...@nmr.mgh.harvard.edu
Phone Number: 617-724-2358
Fax: 617-726-7422

Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
FileDrop: https://gate.nmr.mgh.harvard.edu/filedrop2
www.nmr.mgh.harvard.edu/facility/filedrop/index.html
Outgoing: ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/

___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


[Freesurfer] Matlab help

2014-03-03 Thread Saurabh Thakur
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.


Re: [Freesurfer] Matlab help

2014-03-03 Thread markus . gschwind
Hi!

Can you specify what happens when you try to read the files?




On 4 mars 2014, at 06:44, Saurabh Thakur srbht...@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


Re: [Freesurfer] Matlab help

2014-03-03 Thread Saurabh Thakur
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.gschw...@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 srbht...@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.


Re: [Freesurfer] Matlab help

2014-03-03 Thread Sebastian Moeller
Hi Saurabh,


On Mar 4, 2014, at 07:56 , Saurabh Thakur srbht...@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.gschw...@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 srbht...@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.


___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer