Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkChiSquareFitCostFunction.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkChiSquareFitCostFunction_h
14 #define mitkChiSquareFitCostFunction_h
15 
17 
18 #include <MitkModelFitExports.h>
19 
20 
21 namespace mitk
22 {
36 {
37 public:
38 
43  itkNewMacro(Self);
44 
46 
47 protected:
48 
49  MeasureType CalcMeasure(const ParametersType &parameters, const SignalType& signal) const override;
50 
52  {
53 
54  }
55 
57 
58 };
59 }
60 
61 #endif
#define MITKMODELFIT_EXPORT
Single-valued cost function that computes the chi-square statistic.
MeasureType CalcMeasure(const ParametersType &parameters, const SignalType &signal) const override
mitk::SVModelFitCostFunction Superclass
itk::SmartPointer< const Self > ConstPointer
Base class for all model fit cost functions that return a single scalar cost value.
ModelFitCostFunctionInterface::SignalType SignalType
Find image slices visible on a given plane.