Proposals:Refactoring Index Point Coordinate System

From KitwarePublic
Jump to navigationJump to search


The conversion between physical points and indices is not consistent in all places in the toolkit.

The following cases must be considered

  • Interpolators
  • Registration
  • Transforms
  • Conversion between ITK and VTK
  • Backwards compatibility
  • Template programming for more efficient conversions


Review of Current Status

Image Class

The image class considers that the location of a pixel is at the physical coordinates of the center of the pixel.

NOTE: The original file for this diagram can be found in

NOTE #2: The diagrams below are not quite correct in that they show the origin as being in the lower left corner of the image where the origin is really in the upper left hand corner.

PNG Diagram


SVG Diagram



Interpolators are used in the Registration Framework and in the Resampling filters.

Refactoring Proposal