ITKu, minimalist commandline tools using ITK (Raul San

From NAMIC Wiki
Jump to: navigation, search
Home < ITKu, minimalist commandline tools using ITK (Raul San

Introduction

This project pursues a command line interface ala unu developed by Gordon Kindlmann such as different commands get together in a pipeline style interface.

Project Plan

Project Plan

Goals

  • Create nD itkImage: IO with ITK IO Factory, raw IO.
  • Manage nD itkImage: permutation, splitting of axis.
  • Conversion between PixelTypes.
  • Integration of basic ITK filters (proof of concept).
    • Example:
itku filter -f VectorGradientAnisotropicDiffusionImageFilter \
    -i image.mhd \
    -NumberOfIteratons 10 \
    -TimeStep .1 \
  > out.mhd

Post-Programming-Week

  • Building Teem in CMake; need its "hest" command-line parser. Mostly done, some wrinkles still being worked out as time permits.
  • Did create, with Jim Miller's help, a minimal framework for doing dynamic loading of compiled filters (instantiated for a range of image types and dimensions)
  • Realized that reading and writing images via stdout and stdin is not standard in ITK. Considered teaching ITK that "-" means stdin/stdout and the NRRD format.

TODO: Create a minimal example of using a diffusion filter (as above)