Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkCurveDescriptionParameterBase.cpp
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 
14 #include "itkMacro.h"
15 
16 #include <algorithm>
17 
18 
20 {
21 }
22 
24 {
25 }
26 
28 {
29  if(curve.GetSize() != grid.GetSize())
30  {
31  itkExceptionMacro("Cannot calculate Curve Description Parameter. Signal and Time Grid do not match!");
32  }
33 
35 
36  return parameter;
37 }
38 
39 
40 
std::vector< CurveDescriptionParameterResultType > DescriptionParameterResultsType
DescriptionParameterResultsType GetCurveDescriptionParameter(const CurveType &curve, const CurveGridType &grid) const
virtual DescriptionParameterResultsType ComputeCurveDescriptionParameter(const CurveType &curve, const CurveGridType &grid) const =0