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

From KitwarePublic
Jump to navigationJump to search
 
(4 intermediate revisions by one other user not shown)
Line 3: Line 3:


* CompositeTransform abstracts a concatenation of transform
* 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 =
= IO =
Line 8: Line 11:
* 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
** 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.