Medical Imaging Interaction Toolkit  2021.10.99-9c07a326
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 __MITK_EXTRACT_TIME_GRID_H_
14 #define __MITK_EXTRACT_TIME_GRID_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
MITKMODELFIT_EXPORT ModelBase::TimeGridType ExtractTimeGrid(const Image *image)
DataCollection - Class to facilitate loading/accessing structured data.
itk::Array< double > TimeGridType
Definition: mitkModelBase.h:62
#define MITKMODELFIT_EXPORT
class ITK_EXPORT Image