Re: [Freesurfer] masking out ROIs on the surface

2009-11-07 Thread Mishkin Derakhshan
Hi, I'm not sure whether the --seg option ever got looked into, but for those searching the lists in the future, here is the quick hack I used in perl to accomplish what I wanted: mishkin #! /usr/bin/perl if($ARGV <1){ print "\nUsage: $0 \n"; print "Assumes SUBJECTS_DIR is set, and mri_a

Re: [Freesurfer] Circle around vertex

2009-11-07 Thread Bruce Fischl
Hi Martin, it will dilate by one neighbor in the mess, regardless of distance. The neighbors start out about 1mm apart, but there is some variation (which is why it won't end up being exactly circular). cheers, Bruce On Sat, 7 Nov 2009, Martin Kavec wrote: > :) > thanks. In volume images dila

Re: [Freesurfer] Circle around vertex

2009-11-07 Thread Martin Kavec
:) thanks. In volume images dilation is usually by 1 voxel, but as far as I understand, label is a surface represented by a mesh where a distance between vertices does not need to be the same. So if I want to dilate the label by 10 mm do I click "dilate label" 10x. Thanks, Martin On Sat, Nov 7,

Re: [Freesurfer] Circle around vertex

2009-11-07 Thread Bruce Fischl
once every time you click "dilate label" On Sat, 7 Nov 2009, Martin Kavec wrote: > Hi Bruce, > > if I dilate an arbitrarily shaped label in tksurfer, how much is it actually > dilated? > > Thanks, > Martin > > On Sat, Nov 7, 2009 at 8:18 PM, Bruce Fischl > wrote: > >> Hi Yigal, >> >> yes, you ca

Re: [Freesurfer] Circle around vertex

2009-11-07 Thread Martin Kavec
Hi Bruce, if I dilate an arbitrarily shaped label in tksurfer, how much is it actually dilated? Thanks, Martin On Sat, Nov 7, 2009 at 8:18 PM, Bruce Fischl wrote: > Hi Yigal, > > yes, you can select the vertex, make a label out of it, then dilate it > however many times you want. This will be a

Re: [Freesurfer] Circle around vertex

2009-11-07 Thread Bruce Fischl
Hi Yigal, yes, you can select the vertex, make a label out of it, then dilate it however many times you want. This will be approximately spherical. Alternatively you could write some code to use the ?h.sphere surface to compute geodesic distances (great circles) to do it more exactly, but we d

[Freesurfer] Circle around vertex

2009-11-07 Thread Yigal Agam
Hi, In surface-based analysis, is it possible to create an ROI label that is a circle of a certain radius around a given vertex? Thanks, Yigal ___ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/

Re: [Freesurfer] label,vertex number

2009-11-07 Thread Bruce Fischl
you need to load it into tksurfer, which will sample it onto the surface. Then save it again. cheers Bruce On Sat, 7 Nov 2009, Sharmili 57 wrote: > > Dear All, > > I've edited labels in tkmedit using the select voxel tool. I get the > following text file,where the vertex numbers are missing. Co

[Freesurfer] label,vertex number

2009-11-07 Thread Sharmili 57
Dear All, I've edited labels in tkmedit using the select voxel tool. I get the following text file,where the vertex numbers are missing. Could anyone tell me what's wrong about my procedure? Thanks!! Sharmili #!ascii label /data/Psychiatrie/01_Projects_Folder/DA_Sritharan/Freesurfer/HZM23/la