question about .brules files

Questions about BrainVisa usage and installation

Moderators: denghien, riviere

Post Reply
houenou
Posts: 62
Joined: Tue May 31, 2005 2:28 pm

question about .brules files

Post by houenou »

Hi,
I have a question about .brules files.
I use it in the "diffusion bundles transformation" component.
The documentation in brainvisa is perfect except I can't find how you can "exclude" ROI i.e. = I have got a set of >100 ROI and I want to select bundles going through ROI n° 2 and n° 34 but not going into ROI n° 4 and ROI n° 6.
What do I have to write in .brules file ?

thanks!
Josselin
Dominique Geffroy
Site Admin
Posts: 161
Joined: Thu Mar 01, 2007 4:22 pm
Location: IFR 49 - Neurospin, Gif-sur-Yvette, France
Contact:

Re: question about .brules files

Post by Dominique Geffroy »

Hello,

I think you can do that by writing successive rules. The bundles selected with the first rule won't be in the same group than the bundles selected by the second rule and so on.
You could write a rule to select all bundles that go through region 4 and a second to select bundles that go through region 6. And then you put as a third rule the one selecting bundles that go through regions 2 and 34. The bundles selected by this rule won't go through 4 and 6 because these bundles will selected by the previous rules.

Dominique
User avatar
Yann Cointepas
Posts: 316
Joined: Tue Jan 20, 2004 2:56 pm
Location: Neurospin, Saint Aubin, France
Contact:

Re: question about .brules files

Post by Yann Cointepas »

If you use a minus as th bundle name, the matching fascicles are ignored. This information is located (hidden ?) in the small paragraph about bundle names in the documentation.
Post Reply