Medical Imaging Interaction Toolkit
2024.06.00
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 mitkTimeGridHelper_h
14
#define mitkTimeGridHelper_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.*/
24
MITKMODELFIT_EXPORT
bool
TimeGridIsMonotonIncreasing
(
const
ModelBase::TimeGridType
timeGrid);
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.*/
28
MITKMODELFIT_EXPORT
ModelBase::ModelResultType
InterpolateSignalToNewTimeGrid
(
const
ModelBase::ModelResultType
& inputSignal,
const
ModelBase::TimeGridType
& inputGrid,
const
ModelBase::TimeGridType
& outputGrid);
29
34
MITKMODELFIT_EXPORT
ModelBase::TimeGridType
GenerateSupersampledTimeGrid
(
const
mitk::ModelBase::TimeGridType
& grid,
const
unsigned
int
samplingRate);
35
}
36
37
#endif
mitk::ModelBase::ModelResultType
ModelTraitsInterface::ModelResultType ModelResultType
Definition:
mitkModelBase.h:55
MitkModelFitExports.h
mitk::TimeGridIsMonotonIncreasing
MITKMODELFIT_EXPORT bool TimeGridIsMonotonIncreasing(const ModelBase::TimeGridType timeGrid)
mitk::InterpolateSignalToNewTimeGrid
MITKMODELFIT_EXPORT ModelBase::ModelResultType InterpolateSignalToNewTimeGrid(const ModelBase::ModelResultType &inputSignal, const ModelBase::TimeGridType &inputGrid, const ModelBase::TimeGridType &outputGrid)
MITKMODELFIT_EXPORT
#define MITKMODELFIT_EXPORT
Definition:
MitkModelFitExports.h:15
mitkModelBase.h
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::GenerateSupersampledTimeGrid
MITKMODELFIT_EXPORT ModelBase::TimeGridType GenerateSupersampledTimeGrid(const mitk::ModelBase::TimeGridType &grid, const unsigned int samplingRate)
mitk::ModelBase::TimeGridType
itk::Array< double > TimeGridType
Definition:
mitkModelBase.h:62
src
MITK
Modules
ModelFit
include
mitkTimeGridHelper.h
Generated on Mon Jun 17 2024 12:43:29 for Medical Imaging Interaction Toolkit by
1.8.17