Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
Core
Main
transformixlib.h
Go to the documentation of this file.
1
/*=========================================================================
2
*
3
* Copyright UMC Utrecht and contributors
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0.txt
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*
17
*=========================================================================*/
18
#ifndef __transformixlib_h
19
#define __transformixlib_h
20
24
#include <itkDataObject.h>
25
#include "
itkParameterFileParser.h
"
26
#include "
elxMacro.h
"
27
28
/********************************************************************************
29
* *
30
* Class definition *
31
* *
32
********************************************************************************/
33
namespace
transformix
34
{
35
36
class
ELASTIXLIB_API
TRANSFORMIX
37
{
38
public
:
39
40
//typedefs for images
41
typedef
itk::DataObject
Image
;
42
typedef
Image::Pointer
ImagePointer
;
43
44
//typedefs for parameter map
45
typedef
itk::ParameterFileParser::ParameterValuesType
ParameterValuesType
;
46
typedef
itk::ParameterFileParser::ParameterMapType
ParameterMapType
;
47
typedef
std::vector< itk::ParameterFileParser::ParameterMapType >
ParameterMapListType
;
48
50
TRANSFORMIX
();
51
virtual
~
TRANSFORMIX
();
52
58
int
TransformImage(
ImagePointer
inputImage,
59
ParameterMapType
& parameterMap,
60
std::string outputPath,
61
bool
performLogging,
62
bool
performCout );
63
69
int
TransformImage(
ImagePointer
inputImage,
70
std::vector< ParameterMapType > & parameterMaps,
71
std::string outputPath,
72
bool
performLogging,
73
bool
performCout );
74
76
ImagePointer
GetResultImage(
void
);
77
78
std::string
ConvertSecondsToDHMS
(
const
double
totalSeconds,
const
unsigned
int
precision = 0 );
79
80
std::string
GetCurrentDateAndTime
(
void
);
81
82
private
:
83
84
ImagePointer
m_ResultImage;
85
86
};
87
88
// end class TRANSFORMIX
89
90
}
// namespace transformix
91
92
#endif // end #ifndef __transformixlib_h
transformix::TRANSFORMIX::ParameterMapListType
std::vector< itk::ParameterFileParser::ParameterMapType > ParameterMapListType
Definition:
transformixlib.h:55
ELASTIXLIB_API
#define ELASTIXLIB_API
Definition:
elxMacro.h:301
itk::ParameterFileParser::ParameterMapType
std::map< std::string, ParameterValuesType > ParameterMapType
Definition:
itkParameterFileParser.h:99
transformix::TRANSFORMIX::ParameterValuesType
itk::ParameterFileParser::ParameterValuesType ParameterValuesType
Definition:
transformixlib.h:53
Image
itk::ParameterFileParser::ParameterValuesType
std::vector< std::string > ParameterValuesType
Definition:
itkParameterFileParser.h:93
ConvertSecondsToDHMS
std::string ConvertSecondsToDHMS(const double totalSeconds, const unsigned int precision=0)
Definition:
elastix.h:51
GetCurrentDateAndTime
std::string GetCurrentDateAndTime(void)
Definition:
elastix.h:89
transformix::TRANSFORMIX::ImagePointer
Image::Pointer ImagePointer
Definition:
transformixlib.h:50
transformix
Definition:
transformixlib.h:34
itkParameterFileParser.h
transformix::TRANSFORMIX::ParameterMapType
itk::ParameterFileParser::ParameterMapType ParameterMapType
Definition:
transformixlib.h:54
transformix::TRANSFORMIX
Definition:
transformixlib.h:41
elxMacro.h
Generated on OURCE_DATE_EPOCH for elastix by
1.8.18