[Insight-developers] Transform::SetParameters() and Modified()
Miller, James V (GE, Research)
millerjv at crd.ge.com
Thu Mar 15 16:21:10 EST 2007
Should the SetParameters() method in a Transform call Modified()?
I suspect that we avoid calling Modified() on SetParameters() because it
is called in the inner loop. I think ScaleTransform, TranslateTransform,
and VersorRigid3DTransform to not call Modified() on a call to
SetParameters() but MatrixOffsetTransformBase does.
Depending on the answer to this, there may be a bug in the
GradientDifferenceImageToImageMetric which runs a small pipeline inside
the GetValue() method which relies on the Transform being Modified by a
call to SetParameters().
Jim Miller
_____________________________________
Visualization & Computer Vision
GE Research
Bldg. KW, Room C223
1 Research Circle, Schenectady NY 12309-1027
millerjv at research.ge.com <mailto:millerjv at research.ge.com>
(518) 387-4005, Dial Comm: 8*833-4005
Cell: (518) 505-7065, Fax: (518) 387-6981
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.itk.org/mailman/private/insight-developers/attachments/20070315/f32786fc/attachment.html
More information about the Insight-developers
mailing list