| 51 | }; |
| 52 | |
| 53 | mitk::MVModelFitCostFunction::Pointer mitk::DummyModelFitFunctor::GenerateCostFunction( |
| 54 | const SignalType& value, const ModelBase* model) const |
| 55 | { |
| 56 | ::mitk::SquaredDifferencesFitCostFunction::Pointer metric |
| 57 | = ::mitk::SquaredDifferencesFitCostFunction::New(); |
| 58 | metric->SetModel(model); |
| 59 | metric->SetSample(value); |
| 60 | metric->SetDerivativeStepLength(m_DerivativeStepLength); |
| 61 | |
| 62 | mitk::MVModelFitCostFunction::Pointer result = metric.GetPointer(); |
| 63 | |
| 64 | return result; |
| 65 | }; |
| 66 | |
| 67 | mitk::DummyModelFitFunctor::ParametersType |
| 68 | mitk::DummyModelFitFunctor:: |
no test coverage detected