2014 Project Week:Modules scripting

From NAMIC Wiki
Jump to: navigation, search
Home < 2014 Project Week:Modules scripting

Key Investigators

  • Iowa: David Welch
  • NLM: Brad Lowekamp
  • Iowa: Hans Johnson

Project Description

Objective

Enhance the integration of SimpleITK with Slicer and expand the documentation for building modules from SimpleITK

Approach, Plan

  • Enhance the interface for the existing "SimpleFilters" module to allow for label maps and image types to be better handled.
    • [BRAD] Explain how the SimpleFilters module works
    • [DAVE] Make outputs default to NOT overwriting the inputs
    • [Brad] For binary image outputs, set them as labelmaps
  • Add python output code generation and display
    • [DAVE] Introspect SimpleITK functions for get/set options
    • [DAVE] Add text output to SimpleFilters GUI
    • [DAVE] Verify code in external environment
  • Convert SimpleITK functions to user interface modules
    • [DAVE] Create a SimpleITK function that histogram equalizes one image to another. "outimage=histEQ(refImage,inputImage,numberOfBins)"
    • [DAVE] Convert that simple function to a Slicer GUI interface

Progress

  • [DONE] Enhance the interface for the existing "SimpleFilters" module to allow for label maps and image types to be better handled.
  • [NEEDS TESTING] Add python output code generation and display
  • [INCOMPLETE] Convert SimpleITK functions to user interface modules