Talk:Proposals:Oriented Image Registration

From KitwarePublic
Revision as of 15:12, 4 October 2007 by Frankmiller (talk | contribs) (New page: I think that adding new methods to itk::ImageBase is not necessary. pImage->ApplyDirectionToGradient( gradient ) is just as expressive as pImage->GetDirection() * gradient If new ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

I think that adding new methods to itk::ImageBase is not necessary.

 pImage->ApplyDirectionToGradient( gradient )

is just as expressive as

 pImage->GetDirection() * gradient

If new methods must be added for efficiency or other considerations, I would suggest not mentioning a gradient in the names. The methods would be useful for vectors in general.

  • ApplyDirectionToVector
  • ApplyInverseDirectionToVector

Would be my choice. Frankmiller 11:12, 4 October 2007 (EDT)