Difference between revisions of "User:Davisb"

From NAMIC Wiki
Jump to: navigation, search
Line 31: Line 31:
 
**itk test
 
**itk test
 
**vtk test
 
**vtk test
*vtk test does not work
+
*[pending] vtk test does not work
  
 
===Adding Test===
 
===Adding Test===
 
*add testing executables to CMakeListsLocal.txt in cxx directory---exes are build in module directory
 
*add testing executables to CMakeListsLocal.txt in cxx directory---exes are build in module directory
 
*added a temporary script that will run the itk and vtk tests RunTests.sh in the Tests directory
 
*added a temporary script that will run the itk and vtk tests RunTests.sh in the Tests directory

Revision as of 14:26, 4 May 2007

Current Projects

Rule Based Segmentation

Status summary: fixing vtk wrapper of itkBayes code---debugging, could be 2 hours, could be 2 days

  • build initial copy
    • get cvs copy of slicer2
      • Scripts/genlib.tcl
      • Scripts/cmaker.tcl
    • get svn copy of NAMICSandbox
    • create a link to the RuleBasedSegmentation module within slicer2
cd slicer2/Modules
ln -s NAMICSandbox/RuleBasedSegmentation/vtkRuleBasedSegmentation vtkRuleBasedSegmentation
    • compile slicer2 with RuleBasedSegmentation module
      • Scripts/genlib.tcl
  • add tests
    • test source is already present in the cxx directory
    • update CMakeListsLocal.txt in cxx directory---tests are built in module directory
    • added a temporary script RunsTests.sh in the Tests directory to run the itk and vtk tests with and without masks
    • copied png images to the Tests directory
    • "gold standard" images were incorrect; have been rescaled from [0,1] to [0,255]; so much for gold standard ;)
  • Run tests
  • itk tests succeed
  • vtk tests do not succeed---there is a problem with the wrapper

Problems:

  • [fixed]Build fails---updated name in cmakelists
  • [temporary tests added] need to add tests
    • itk test
    • vtk test
  • [pending] vtk test does not work

Adding Test

  • add testing executables to CMakeListsLocal.txt in cxx directory---exes are build in module directory
  • added a temporary script that will run the itk and vtk tests RunTests.sh in the Tests directory