ITK/Release 4/Enhancing Image Registration Framework/Proposal for Revised Framework/Composite Transform: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
 
(2 intermediate revisions by one other user not shown)
Line 5: Line 5:
** Deriving from TransformBase (non-templated)
** Deriving from TransformBase (non-templated)
** Contain a list of pointers to TransformBase
** Contain a list of pointers to TransformBase
** Enable the use of mixed dimensionalities ? (e.g. Perspective Transform)


= IO =
= IO =


* The TransformFileReader and TransformFileWriter must be modified to manage composite transform.
* The TransformFileReader and TransformFileWriter must be modified to manage composite transform.
== Writing ==
* The TransformFileWriter can dynamic_cast to CompositeTransform
* The TransformFileWriter can dynamic_cast to CompositeTransform
** Then extract its internal transforms
** Then extract its internal transforms
== Reading ==
* The TransformFileReader will create the CompositeTransform directly by using the standard Factories.
* Conditional code will deal with reading the N Transform components.


= Changes =
= Changes =

Latest revision as of 16:01, 9 December 2011

Overview

  • CompositeTransform abstracts a concatenation of transform
    • Deriving from TransformBase (non-templated)
    • Contain a list of pointers to TransformBase
    • Enable the use of mixed dimensionalities ? (e.g. Perspective Transform)

IO

  • The TransformFileReader and TransformFileWriter must be modified to manage composite transform.

Writing

  • The TransformFileWriter can dynamic_cast to CompositeTransform
    • Then extract its internal transforms

Reading

  • The TransformFileReader will create the CompositeTransform directly by using the standard Factories.
  • Conditional code will deal with reading the N Transform components.

Changes

  • Refactor GetJacobians() to manage sparse matrices OR
    • Make them obsolete and add to the Transforms the method that provide the service of mapping a point through the Jacobian on the transform. In this way they don't have to be represented explicitly.