[Insight-users] Could MultipleValuedVnlCostFunctionAdaptor use getvalueandderivative?

Tom Vercauteren tom.vercauteren at gmail.com
Mon Feb 28 09:09:52 EST 2005


Hello everyone,

Sorry for posting so much recently.

While using the MultipleValuedVnlCostFunctionAdaptor class I realized
that the "compute" function uses a call to
m_CostFunction->GetValue       and
m_CostFunction->GetDerivative

I was hoping that m_CostFunction->GetValueAndDerivative would be used
just as with the singlevaluedcostfunction framework. Would it be
possible to implement GetValueAndDerivative for
multiplevaluedcostfunctions?

I know that no multiplevaluedcostfunction use derivatives right now
but this would be nice for optimizing a mean square (image) metric
with the levenberg-marquard optimizer which is the usual choice for
sum of squares minimization.

Regards,

Tom Vercauteren


More information about the Insight-users mailing list