2010 Winter Project Week Congealing Testing Debugging

Jump to: navigation, search
Home < 2010 Winter Project Week Congealing Testing Debugging

Key Investigators

  • BWH: Lauren O'Donnell
  • Kitware: Luis Ibanez


Test and debug congealing registration implementation in ITK (in NAMIC Sandbox).

Approach, Plan

Initial issue: congealing does not work with recent ITK. The goal is to figure out where the problem is. The plan is to run existing tests from sandbox and also test on 26-subject FA dataset, and debug.


We got congealing to run without errors or crashes. However more work would be needed for it to be compatible with recent changes/improvements in ITK.

We found the following backwards-compatible flag is needed to run congealing: ITK_USE_CENTERED_PIXEL_COORDINATES_CONSISTENTLY:BOOL=OFF.

We tested the code with existing tests from Serdar and also on a 26-subject FA dataset. We debugged initial crashing problems and patched a bug assuming all input images had the same size. To use this code in its current version however it may be advisable to pad all imput images to the same dimensions.

We found that the multiresolution B splines may have a bug as results were "smeared". Luis suggests the optimizer may not be using the correct size scale. However the initial size 8 grid seems to work well. See above image results.

Some congealing tests initially crashed with recent ITK. We are running against the backwards compatible ITK now to see if Serdar's original tests pass. (So far 36/96 have passed including ones that failed with recent ITK.)