Medical Imaging Interaction Toolkit  2021.10.99-9c07a326
Medical Imaging Interaction Toolkit
mitkTimeGridHelper.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 __MITK_TIME_GRID_HELPER_H_
14 #define __MITK_TIME_GRID_HELPER_H_
15 
16 #include "mitkModelBase.h"
17 
18 #include "MitkModelFitExports.h"
19 
20 namespace mitk
21 {
22  /* Checks if the time grid is monotone increasing (timeGrid[n] <= timeGrid[n+1]).
23  * It is a precondition for the helper interpolate time grid.*/
25 
26  /* Helper function that interpolates a passed signal to a new time grid.
27  * @pre The time grids must be monotone increasing. Use TimeGridIsMonotonIncreasing() to verify that.*/
29 
35 }
36 
37 #endif
MITKMODELFIT_EXPORT ModelBase::ModelResultType InterpolateSignalToNewTimeGrid(const ModelBase::ModelResultType &inputSignal, const ModelBase::TimeGridType &inputGrid, const ModelBase::TimeGridType &outputGrid)
DataCollection - Class to facilitate loading/accessing structured data.
itk::Array< double > TimeGridType
Definition: mitkModelBase.h:62
#define MITKMODELFIT_EXPORT
ModelTraitsInterface::ModelResultType ModelResultType
Definition: mitkModelBase.h:55
MITKMODELFIT_EXPORT ModelBase::TimeGridType GenerateSupersampledTimeGrid(const mitk::ModelBase::TimeGridType &grid, const unsigned int samplingRate)
MITKMODELFIT_EXPORT bool TimeGridIsMonotonIncreasing(const ModelBase::TimeGridType timeGrid)