Introduction to VivoScript – Part I: Looping through data in a project

Introduction to VivoScript – Part I: Looping through data in a project

In this post, I would like to show an example of how to iterate through all the patients of a project on an iPACS system using a VivoScript. This can for instance be useful for the automation of pre-processing data, or two produce quality control images for an entire project. The looping technique shown here will be used in subsequent tutorials, so this is the best starting point to get familiar with VivoScript.

Continue reading

Exporting VQ ROIs to the real world

Exporting VQ ROIs to the real world

Thanks to modern 3D Printing technology, you can now export your VivoQuant 3D regions of interest (ROIs) into the real world. VivoQuant offers a wide array of export options, e.g. as STL or VRML, which can be read in by most 3D modelling or CAT software. The 3D printer takes a model and adds small dots of liquified plastic, feed as a long thread to the system, to a base plate. The plastic cools down and sets, so additional layers can be added, until the full model is completed.

Continue reading

Opening external tools from VivoQuant via VivoScript

Opening external tools from VivoQuant via VivoScript

Sometimes it is useful to be able to start external programs from within VivoQuant. VivoScript provides a function for this:

VQ.startTool("ProgramName");
VQ.startTool("ProgramName", baseDir, parameterList);

with ProgramName being a pre-configured name of the tool to start (see below on how to add your own tools), while the optional baseDir defines the current working directory the tool is started in. Finally, the parameterList is an array of optional parameters passed into the tool from the command line. Depending on the tool you are using such parameters could be used to for instance pass in files  to the new tool.

Continue reading