The Insight Toolkit (ITK) is an open-source software library for performing segmentation and registration. When the ITK toolkit is present, and SCIRun is appropriately configured, ITK filters are encapsulated in SCIRun modules for use in SCIRun networks. By default, SCIRun encapsulates a subset of ITK filters.
SCIRun encapsulates ITK filters using XML-based description files. An XSLT processor generates code for SCIRun modules from the XML descriptions and XSL stylesheets. Users may encapsulate additional filters by writing XML descriptions of them. See the SCIRun Users Guide for more information.
The SCIRun/Insight RPM distribution of SCIRun includes support for ITK. The RPM distribution installs Insight libraries in /usr/local/lib/InsightTookit. The instructions in sections “Obtaining ITK”, “Building ITK”, and “SCIRun Insight Configure Options” apply only to a source code installation of SCIRun.
SCIRun's ITK support depends on
the presence of Java JDK 1.2.2 or later. Environment variable
JAVA_HOME must contain the path to the java
“JDK” directory. The JDK directory is typically
/usr/java, /usr/java2,
or
/usr/java/jdk.x.x.x
For an sh-type shell:
JAVA_HOME=/usr/java
export JAVA_HOME
for a csh-type shell:
setenv JAVA_HOME /usr/java
Environment variable PATH must contain the
path to the java command. PATH
is set as follows:
For an sh-type shell:
PATH=$JAVA_HOME/bin:$PATH
and for a csh-type shell:
setenv PATH $JAVA_HOME/bin:$PATH