Medical Imaging Interaction Toolkit  2023.12.99-b884b24c
Medical Imaging Interaction Toolkit
mitkExtractTimeGrid.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 mitkExtractTimeGrid_h
14 #define mitkExtractTimeGrid_h
15 
16 #include <iostream>
17 
18 #include <mitkImage.h>
19 #include <mitkTimeGeometry.h>
20 
21 #include "mitkModelBase.h"
22 
23 #include "MitkModelFitExports.h"
24 
25 namespace mitk
26 {
27 
28  /*Extracts the time grid of an image (its time geometry) for usage with models.
29  * Time grid is empty (size == 0) if image pointer is invalid.
30  * @remark the model time grid has a resolution in sec and not ms like the time geometry.*/
32 
33  /*Extracts the time grid of a time geometry for usage with models.
34  * Time grid is empty (size == 0) if geometry pointer is invalid.
35  * @remark the model time grid has a resolution in sec and not ms like the time geometry.*/
36  MITKMODELFIT_EXPORT ModelBase::TimeGridType ExtractTimeGrid(const TimeGeometry* geometry);
37 
38 }
39 
40 #endif
mitkImage.h
MitkModelFitExports.h
mitk::ExtractTimeGrid
MITKMODELFIT_EXPORT ModelBase::TimeGridType ExtractTimeGrid(const Image *image)
mitkTimeGeometry.h
MITKMODELFIT_EXPORT
#define MITKMODELFIT_EXPORT
Definition: MitkModelFitExports.h:15
mitkModelBase.h
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
itk::Image
class ITK_EXPORT Image
Definition: mitkGeometryClipImageFilter.h:25
mitk::ModelBase::TimeGridType
itk::Array< double > TimeGridType
Definition: mitkModelBase.h:62