Hi there,
I would like to extract several bits of sulci from an individual graph. More precisely, I would like to select a few nodes in the graph, that fall under the same label. For instance, nodes having the label S.C._left. My problem is that I don't want ALL the nodes labelled S.C._left but just afew of them. I was wondering if there is an attribute that can differentiate those nodes. May be "index" (I don't know the meaning of this attribute) ? I am not sure if the index value is unique within a graph.
If I have such an attribute, my idea is to look at the graph in an anatomist browser, get the value of the attribute for the sulci I'm interested in, and send this value as an input argument of my program...
Thanks in advance,
Olivier
Selecting sulci
- Olivier Coulon
- Posts: 176
- Joined: Fri Feb 27, 2004 11:48 am
- Location: MeCA research group, Institut de Neurosciences de La Timone, Marseille, France
- Contact:
Selecting sulci
Olivier Coulon
Institut de Neurosciences de La Timone,
Aix-Marseille Université,
Marseille, france
https://meca-brain.org
Institut de Neurosciences de La Timone,
Aix-Marseille Université,
Marseille, france
https://meca-brain.org
- riviere
- Site Admin
- Posts: 1361
- Joined: Tue Jan 06, 2004 12:21 pm
- Location: CEA NeuroSpin, Saint Aubin, France
- Contact:
Hi Olivier,
One solution would be to manually rename some nodes, then you could use the existing selection system...
But the index is also a possible solution, provided you manually provide the indexes of all nodes that are interesting for you (but this will rapidly become painful).
The index attribute is unique in a graph, it is assigned upon creation (by the Vip library) to each node, but in different graphs, the same index has no common meaning.
Denis
One solution would be to manually rename some nodes, then you could use the existing selection system...
But the index is also a possible solution, provided you manually provide the indexes of all nodes that are interesting for you (but this will rapidly become painful).
The index attribute is unique in a graph, it is assigned upon creation (by the Vip library) to each node, but in different graphs, the same index has no common meaning.
Denis
- Olivier Coulon
- Posts: 176
- Joined: Fri Feb 27, 2004 11:48 am
- Location: MeCA research group, Institut de Neurosciences de La Timone, Marseille, France
- Contact:
Thanks Denis,
Olivier
this is OK for me. I want to do all this at an individual level, not as a generic (i.e. subject independent) process. What I want to do is select different bits of a sulcus to merge them into a single object. That implies getting all the buckets of the different bits, merging them, and remeshing the result. It's not very complicated, but it's the selection process I am wondering about :how to select the different bits I want to merge. I suppose the best thing would be an anatomist module allowing me to do the selection by clicking, but I've never done that so I want to be sure it's necessary before I start.The index attribute is unique in a graph, it is assigned upon creation (by the Vip library) to each node, but in different graphs, the same index has no common meaning.
Olivier
Olivier Coulon
Institut de Neurosciences de La Timone,
Aix-Marseille Université,
Marseille, france
https://meca-brain.org
Institut de Neurosciences de La Timone,
Aix-Marseille Université,
Marseille, france
https://meca-brain.org
I had to do something similar with S.C. too. What I did was I used the depth field in the database to number the order of the segment in the sulcus. So then my remeshing would know how to joint the segmentsOlivier Coulon wrote:Thanks Denis,
this is OK for me. I want to do all this at an individual level, not as a generic (i.e. subject independent) process. What I want to do is select different bits of a sulcus to merge them into a single object. That implies getting all the buckets of the different bits, merging them, and remeshing the result. It's not very complicated, but it's the selection process I am wondering about :how to select the different bits I want to merge. I suppose the best thing would be an anatomist module allowing me to do the selection by clicking, but I've never done that so I want to be sure it's necessary before I start.The index attribute is unique in a graph, it is assigned upon creation (by the Vip library) to each node, but in different graphs, the same index has no common meaning.
Olivier