[Insight-developers] ITK 3.10 : Turning ITK_IMAGE_BEHAVES_AS_ORIENTED_IMAGE = ON by default
Luis Ibanez
luis.ibanez at kitware.com
Fri Oct 17 11:10:09 EDT 2008
More on this topic,
The methods
TransformPhysicalPointToIndex
TransformIndexToPhysicalPoint
are templated by the coordinate representation type of the
Point<>, and therefore these methods can not be made virtual.
At this point, the best option seems to be to move the conversion
methods between Point, Index and ContinuousIndex to the base class
(itk::ImageBase) and remove all their duplicated implementations
from the derived classes:
itk::Image
itk::OrientedImage
itk::LabelMap
itk::ComponentTree
Then we need to figure out flags for making possible to force the
itk::Image to display the buggy behavior required by the backward
compatibility policy.
Luis
More information about the Insight-developers
mailing list