Proposals:Refactoring Index Point Coordinate System: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
Line 22: Line 22:
The image class considers that the location of a pixel is at the physical coordinates of the center of the pixel.
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 InsightDocuments/SoftwareGuide/Art/ImageOriginAndSpacing.fig
NOTE: The original file for this diagram can be found in <br>
InsightDocuments/SoftwareGuide/Art/ImageOriginAndSpacing.fig <br>
http://www.itk.org/cgi-bin/viewcvs.cgi/SoftwareGuide/Art/ImageOriginAndSpacing.fig?root=InsightDocuments&view=log
http://www.itk.org/cgi-bin/viewcvs.cgi/SoftwareGuide/Art/ImageOriginAndSpacing.fig?root=InsightDocuments&view=log



Revision as of 21:30, 14 May 2008

Overview

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
  • DICOM
  • Conversion between ITK and VTK
  • Backwards compatibility

Motivation

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
InsightDocuments/SoftwareGuide/Art/ImageOriginAndSpacing.fig
http://www.itk.org/cgi-bin/viewcvs.cgi/SoftwareGuide/Art/ImageOriginAndSpacing.fig?root=InsightDocuments&view=log

PNG Diagram

ImageOriginAndSpacing.png

SVG Diagram

ImageOriginAndSpacing.svg

Interpolators

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

Refactoring Proposal