Re: [Freesurfer] tksurfer time course script help

2006-09-26 Thread Kevin Teich
 1. Save the time course window in /path/filename-timecourse.ps

Graph_SaveToPS fileName

e.g.

Graph_SaveToPS /tmp/graph.ps

 2. Select only some of the contrasts for display (e.g., we have contrasts
 0-7 and only want to display 1, 2, and 3)

set gGraphSetting(color,visible) 0|1

Where color is one of:

Red Green Blue Purple Brown Pink Gray LightBlue Yellow Orange

Red is condition one, Green is condition two, etc.

e.g.

set gGraphSetting(Green,visible) 0

 3. Setting subtract pre-stim average on, i.e. forcing the pre-stimulus
 time window mean values to zero on the y-axis (baseline correction).

set gbPreStimOffset 0|1

e.g.

set gbPreStimOffset 1


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


Re: [Freesurfer] cotical surface labeling...

2006-09-26 Thread Doug Greve




Use mri_label2vol, not mri_surf2vol.

doug

Behrang Nosrat Makouei wrote:

  Hi again,
  I am trying to convert a surface segmentation into a volume
file, here is the command I am using:
  
  mri_surf2vol --surfval(???) --hemi lh --surf orig
--volregidentity c2 --template ../mri/rawavg.mgz --outvol orig.img

  now my question is what should go to surface value argument. My
understandingfrom freesurfer surface files was that they storesome
kind of values for each vertex too, so when loading acolor table,it
simply assigns a color to the vertexvalues andlabels them. So if
surface filesalready have the surface values, what is this field
actually refers too?
  
  I hope my question is clear enough.
  
  best
  

  On 9/25/06, Doug Greve [EMAIL PROTECTED]
   wrote:
  
Look in
$FREESURFER_HOME/FreeSurferColorLUT.txt


Behrang Nosrat Makouei wrote:

  Hi,
  thanks for help. That was the segmentation i was looking
for. Now the question is what is the look up table Freesurfer uses to
assign values to different labels? in other words, if I want to segment
the " G_postcentral" (for e.g.) what value should i look
for?
  bets
  
  

  On 9/25/06, Doug Greve [EMAIL PROTECTED]
   wrote:
  

Have you looked at the aparc+aseg.mgz? It has cortical and subcortical
labelings. You can convert it to analyze with mri_convert.



Behrang Nosrat Makouei wrote:

  
  Hi,
  
  I actually had the some extra question in addition to
the question Shahab had. So i thought to put the questions in the reply.
  My final goal is to have Cortical Regions segmented at
the subjects native coordinate space. And I prefer to have the
segmentation in analyze format.
  
  and also, I was wondering if 
  1- there is a way of saving Surfaces generated with
FreeSurfer into an analyze image.
  2- If we can control how fine the cortical segmentation
be. (the number of regions segmented).
  
  Behrang,
  

  On 9/23/06, Bruce Fischl [EMAIL PROTECTED]
   wrote:
  Hi
Shahab,

the ?h.*.annot files are the cortical labelings. What exactly do you wat
to do with them? 

cheers,
Bruce
On Sat, 23 Sep 2006, Shahabuddin Ansari wrote:

 Hi,

I can extract subcorical objects from freesurfer segmentation,
since each object is lableled with normalized intesity value. I was
wondering if I can extract different cortical regions in the same
fashion. I can, though, view the labeled cotical surface in tksurfer. 

Thanks
Shahab


 -
 Get your email and more, right on thenew 
Yahoo.com
___ 
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu

https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

  
  
  
  
  
-- 
Behrang Nosrat Makouei,
Engineering Science,
MICA Lab (MIAL), TASC 9400, SFU.
cell: 778-885-5016 
  
___
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
[EMAIL PROTECTED]
Phone Number: 617-724-2358 
Fax: 617-726-7422

In order to help us help you, please follow the steps in:
surfer.nmr.mgh.harvard.edu/fswiki/BugReporting



  
  
  
  
  
-- 
Behrang Nosrat Makouei,
Engineering Science,
MICA Lab (MIAL), TASC 9400, SFU.
cell: 778-885-5016 

-- 
Douglas N. Greve, Ph.D.
MGH-NMR Center
[EMAIL PROTECTED]
Phone Number: 617-724-2358 
Fax: 617-726-7422

In order to help us help you, please follow the steps in:
surfer.nmr.mgh.harvard.edu/fswiki/BugReporting




  
  
  
  
  
-- 
Behrang Nosrat Makouei,
Engineering Science,
MICA Lab (MIAL), TASC 9400, SFU.
cell: 778-885-5016 

-- 
Douglas N. Greve, Ph.D.
MGH-NMR Center
[EMAIL PROTECTED]
Phone Number: 617-724-2358 
Fax: 617-726-7422

In order to help us help you, please follow the steps in:
surfer.nmr.mgh.harvard.edu/fswiki/BugReporting




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

[Freesurfer] Installatin question

2006-09-26 Thread XJ Kang




Hi, 

I am using Readhat Enterprise WS 3 on an AMD 64-bit machine. Here is
my info:
%cat /etc/redhat-release
Red Hat Enterprise Linux WS release 3 (Taroon Update 2)
%uname -m
x86_64

Therefore, I downloaded freesurfer-Linux-centos4_x86_64-stable-pub-v3.0.3-full.tar.gz.

When I tried to untar the file like:
%tar tzf freesurfer-Linux-centos4_x86_64-stable-pub-v3.0.3-full.tar.gz

I got the error message:

freesurfer/bin/mkxsubjreg
freesurfer/bin/mris_annot_to_segmentation
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers

gzip: stdin: invalid compressed data--crc error

gzip: stdin: invalid compressed data--length error
tar: Child returned status 1
tar: Error exit delayed from previous errors

The installation stopped. Anyone has the same kind of problem? 

I downloaded the file in Windows sysem and then ftp it to my linux
station. Does this matter? Or I need to download another file? 

Thank you in advance. 

XJ Kang



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

Re: [Freesurfer] Installatin question

2006-09-26 Thread Nick Schmansky
After the file is downloaded, you can confirm its integrity by checking
against the md5sum number for the file shown in the table on the
download page at:

https://surfer.nmr.mgh.harvard.edu/fswiki/Download

I suspect the file was corrupted somewhere in the download/transfer.


On Tue, 2006-09-26 at 10:49 -0700, XJ Kang wrote:
 Hi, 
 
  I am using Readhat Enterprise WS 3 on an AMD 64-bit machine.  Here is
 my info:
 %cat /etc/redhat-release
 Red Hat Enterprise Linux WS release 3 (Taroon Update 2)
 %uname -m
 x86_64
 
 Therefore, I downloaded freesurfer-Linux-centos4_x86_64-stable-pub-
 v3.0.3-full.tar.gz.
 
 When I tried to untar the file like:
 %tar tzf freesurfer-Linux-centos4_x86_64-stable-pub-v3.0.3-full.tar.gz
 
  I got the error message:
 
 freesurfer/bin/mkxsubjreg
 freesurfer/bin/mris_annot_to_segmentation
 tar: Skipping to next header
 tar: Archive contains obsolescent base-64 headers
 
 gzip: stdin: invalid compressed data--crc error
 
 gzip: stdin: invalid compressed data--length error
 tar: Child returned status 1
 tar: Error exit delayed from previous errors
 
 The installation stopped. Anyone has the same kind of problem?   
 
 I downloaded the file in Windows sysem and then ftp it to my linux
 station. Does this matter? Or I need to download another file? 
 
 Thank you in advance. 
 
 XJ Kang
 
 ___
 Freesurfer mailing list
 Freesurfer@nmr.mgh.harvard.edu
 https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

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