View Issue Details

IDProjectCategoryView StatusLast Update
0000107Slicer3Command Line Modules (Applications/CLI)public2010-03-23 10:53
Reporterpieper Assigned Tolorensen  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformallOSallOS Versionall
Summary0000107: registration result is wrong (due to origin issue with itk's OrientImage filter
Description

When you run the registration filters in slicer3 the output volume data is translated away from the correct answer. See the images in the attached screen shot.

Steps To Reproduce

Use the fixed.nrrd and moving.nrrd files in Slicer3/Lib/MRML/Testing/TestData.

Run the LinearRegistration with default options. Registration answer will appear to be correctly rotated, but switching background volume to "fixed" will show a blank screen (because the two volumed don't overlap).

Note that the slicer 2D viewers auto-center on the newly loaded registration result. In order to get the view to center on the current background image you need to click on the Fit Field of View button for the slice viewer (button to the right of the eyeball).

Additional Information

Jim and I tracked this down to the origin being incorrectly calculated in the OrientImage code in ITK.

TagsNo tags attached.

Activities

2007-11-08 13:57

 

Picture 1.png (304,565 bytes)
Picture 1.png (304,565 bytes)
lorensen

lorensen

2007-11-18 08:14

developer   ~0000142

The itkOrientImageFilter is not computing the origin correclty for Oriented Images. This is causing incorrect registraion results in all registration plugins for volumes that are not axial.

lorensen

lorensen

2007-11-18 08:17

developer   ~0000143

A helper function, AlignVolumeCenters has beed added to itkPluginUtilities.h. This function computes an origin that aligns the centers of a fixed and moving volume. The Linear, Affine and Deformable BSpline registration plugins are being tested with this new function.

Issue History

Date Modified Username Field Change
2007-11-08 13:57 pieper New Issue
2007-11-08 13:57 pieper Status new => assigned
2007-11-08 13:57 pieper Assigned To => lorensen
2007-11-08 13:57 pieper File Added: Picture 1.png
2007-11-18 08:14 lorensen Note Added: 0000142
2007-11-18 08:14 lorensen Status assigned => acknowledged
2007-11-18 08:17 lorensen Status acknowledged => resolved
2007-11-18 08:17 lorensen Resolution open => fixed
2007-11-18 08:17 lorensen Note Added: 0000143
2010-03-23 10:53 pieper Status resolved => closed
2010-03-23 10:53 pieper Steps to Reproduce Updated