[Insight-developers] Transform::SetParameters() and Modified()

Luis Ibanez luis.ibanez at kitware.com
Thu Mar 15 16:30:32 EST 2007


Hi Jim,

I would vote for SetParameters() to call Modified().


My 2 cents,


    Luis


-----------------------------------------------------------
On 3/15/07, Miller, James V (GE, Research) <millerjv at crd.ge.com> wrote:
> 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
>
>
>


More information about the Insight-developers mailing list