Difference between revisions of "2010 Summer Project Week SPECTRE"

From NAMIC Wiki
Jump to: navigation, search
(Created page with '__NOTOC__ <gallery> Image:PW-MIT2010.png|Projects List </gallery> ==Key Investigators== * BWH: Nicole Aucoin * JHU: Min Chen <div style="…')
 
 
(4 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
<gallery>
 
<gallery>
 
Image:PW-MIT2010.png|[[2010_Summer_Project_Week#Projects|Projects List]]
 
Image:PW-MIT2010.png|[[2010_Summer_Project_Week#Projects|Projects List]]
 
+
Image:SPECTREinVisStudio.jpg
 +
Image:SlicerWithBuiltSPECTRE.jpg
 
</gallery>
 
</gallery>
  
Line 14: Line 15:
 
<h3>Objective</h3>
 
<h3>Objective</h3>
  
Futher integration of the Java SPECTRE skull tripping module into Slicer3.
+
Further integration of the Java SPECTRE skull stripping module into Slicer3.
 
 
  
  
 +
Specific potential enhancements include:
 +
*CMake module integration using Ant to build SPECTRE.
 +
*Fixing/replacing the outdated tck wrappers with Python wrappers.
 +
*Core components of SPECTRE currently act independently, could be homogenized.
  
  
Line 31: Line 35:
  
 
Our plan for the project week is to first try out a temporary location for the jar file and tcl wrapper and then come up with a plan for updates.
 
Our plan for the project week is to first try out a temporary location for the jar file and tcl wrapper and then come up with a plan for updates.
 +
 +
SPECTRE outputs will be modified to be compatible with Slicer image types(i.e. intensity, mask, etc.)
 +
  
 
</div>
 
</div>
Line 38: Line 45:
 
<h3>Progress</h3>
 
<h3>Progress</h3>
  
Tcl wrapped Java jar files have been integrated into Slicer3 already, so hopefully no major infrastructur changes will be required.
+
Tcl wrapped Java jar files have been integrated into Slicer3 already, so hopefully no major infrastructure changes will be required.
 +
 
 +
Worked closely with Dave Partyka from Kitware to create CMakeLists.txt files so that the SPECTRE project can be built by:
 +
* checking out .java classes from various repositoires
 +
* compiling them into .class files
 +
* sorting out dependencies
 +
* extracting the .class files from the .jar files in the lib directories of the repository checkouts
 +
* generating a list of all the .class files and using that to create a jar file
 +
* created a SPECTRE.tcl.in file that we configure from CMake to set the MIPAV and SPECTRE_Slicer.jar paths
 +
 
 +
Setting the extension directory to the top level directory where we put the main CMakeLists.txt file and the SPECTRE.tcl.in file, Slicer3 discovers the module and loads it as a command line module.
 +
 
 +
TODO:
 +
*clean up the cmake files
 +
*set up the files we created as a separate cvs repository that we can check out as anon public.
 +
*write SPECTRE.s3ext
 +
*Write a find package cmake file for MIPAV.
  
 +
Once it's been copied to local disk, run cmake to configure and generate, and then build to check out the source code from nitrc and build it.
  
 
</div>
 
</div>
Line 48: Line 72:
 
==Delivery Mechanism==
 
==Delivery Mechanism==
  
This work will be delivered to the NA-MIC Kit as a
+
This work will be delivered to the NA-MIC Kit as a:
 
 
 
#ITK Module
 
#ITK Module
 
#Slicer Module
 
#Slicer Module

Latest revision as of 22:58, 24 June 2010

Home < 2010 Summer Project Week SPECTRE

Key Investigators

  • BWH: Nicole Aucoin
  • JHU: Min Chen

Objective

Further integration of the Java SPECTRE skull stripping module into Slicer3.


Specific potential enhancements include:

  • CMake module integration using Ant to build SPECTRE.
  • Fixing/replacing the outdated tck wrappers with Python wrappers.
  • Core components of SPECTRE currently act independently, could be homogenized.


Approach, Plan

Our approach is to integrate SPECTRE as an extension. The main challenge to this approach is setting up a web site with a stable jar file and tcl wrapper.

Our plan for the project week is to first try out a temporary location for the jar file and tcl wrapper and then come up with a plan for updates.

SPECTRE outputs will be modified to be compatible with Slicer image types(i.e. intensity, mask, etc.)


Progress

Tcl wrapped Java jar files have been integrated into Slicer3 already, so hopefully no major infrastructure changes will be required.

Worked closely with Dave Partyka from Kitware to create CMakeLists.txt files so that the SPECTRE project can be built by:

  • checking out .java classes from various repositoires
  • compiling them into .class files
  • sorting out dependencies
  • extracting the .class files from the .jar files in the lib directories of the repository checkouts
  • generating a list of all the .class files and using that to create a jar file
  • created a SPECTRE.tcl.in file that we configure from CMake to set the MIPAV and SPECTRE_Slicer.jar paths

Setting the extension directory to the top level directory where we put the main CMakeLists.txt file and the SPECTRE.tcl.in file, Slicer3 discovers the module and loads it as a command line module.

TODO:

  • clean up the cmake files
  • set up the files we created as a separate cvs repository that we can check out as anon public.
  • write SPECTRE.s3ext
  • Write a find package cmake file for MIPAV.

Once it's been copied to local disk, run cmake to configure and generate, and then build to check out the source code from nitrc and build it.

Delivery Mechanism

This work will be delivered to the NA-MIC Kit as a:

  1. ITK Module
  2. Slicer Module
    1. Built-in
    2. Extension -- commandline YES
    3. Extension -- loadable
  3. Other (Please specify)

References