Page 1 of 1

Minor history.ana bug

Posted: Tue Mar 15, 2005 5:25 pm
by guillaume_dugas
When updating the fusion control when fusing two image, the system writes an action in the ~/.anatomist/history.ana file. However, the way of fusing the two (linear, linear on non-null values and geometric) is always written as geometric !

What is the command in an ana script to set the mode as linear on non-null values ?

Thanks

Found

Posted: Tue Mar 15, 2005 5:28 pm
by guillaume_dugas
I just found the answer on the doc (again, i'm a doc-reading slacker)
http://brainvisa.info/doc/html/anatomis ... mands.html

Fusion2DParams

Règle les paramètres d'une fusion 2D
object int
mode string (optionnel) linear, geometric ou linear_on_defined
...

So... all this is just to point a very minor bug, sorry

Posted: Wed Mar 16, 2005 11:47 am
by riviere
Hi Guillaume,

You are right, there was a bug here in anatomist. I have just fixed it in our sources, but anyway the next (development) version works in a different way and doesn't suffer the same problem.

Denis

Woa...

Posted: Mon Mar 21, 2005 12:36 pm
by guillaume_dugas
I'm currently writing python scripts that write on the fly .ana scripts, to visualize my images and possible multiple segmentations with anatomist. Will the script language be updated ?

Thanks

Posted: Mon Mar 21, 2005 3:11 pm
by riviere
Yes.
But up to now I have always managed to update it in a backward-compatible way (adding commands and options, but never removing anything).
Denis