next up previous contents
Next: Interface with Tcl/Tk Up: Overview of the software Previous: Portability   Contents

Scripting ability

Using scripts is useful in many ways for medical imaging applications. First of all, it allows to quickly build prototype applications especially when the scripting language can be used to produce a graphical user interface (as with Tcl/TK). Second, it is a convenient method for writing batch application for the automatic processing of large medical image databases. We have chosen to use Tcl/Tk for its portability and ability to produce user interface (with TK). The creation of Tcl commands associated with each module is performed explicitly (not generated automatically by a parser as in the VTK package) which requires some additional development effort but also enables to have commands with a simple syntax together with strong parameter checking and explicit error messages.



Jean-Didier Lemarechal 2002-02-14