go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elastixlib.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 __elastixlib_h
19 #define __elastixlib_h
20 
21 /*
22  * Includes
23  */
24 #include <itkDataObject.h>
25 #include "itkParameterFileParser.h"
26 #include "elxMacro.h"
27 #include "elxElastixMain.h"
28 
29 
30 /********************************************************************************
31  * *
32  * Class definition *
33  * *
34  ********************************************************************************/
35 
36 namespace elastix
37 {
38 
40 {
41 public:
42 
43  //typedefs for images
44  typedef itk::DataObject Image;
45  typedef Image::Pointer ImagePointer;
46 
47  //typedefs for parameter map
50  typedef std::vector< itk::ParameterFileParser::ParameterMapType > ParameterMapListType;
51 
52  //typedefs for ObjectPointer
54 
59  virtual ~ELASTIX();
60 
86  int RegisterImages( ImagePointer fixedImage,
87  ImagePointer movingImage,
88  ParameterMapType & parameterMap,
89  std::string outputPath,
90  bool performLogging,
91  bool performCout,
92  ImagePointer fixedMask = 0,
93  ImagePointer movingMask = 0 );
94 
95  int RegisterImages( ImagePointer fixedImage,
96  ImagePointer movingImage,
97  std::vector< ParameterMapType > & parameterMaps,
98  std::string outputPath,
99  bool performLogging,
100  bool performCout,
101  ImagePointer fixedMask = 0,
102  ImagePointer movingMask = 0,
103  ObjectPointer transform = 0);
104 
107 
110 
113 
114  std::string ConvertSecondsToDHMS( const double totalSeconds, const unsigned int precision = 0 );
115 
116  std::string GetCurrentDateAndTime( void );
117 
118 private:
119 
120  /* the result images */
122 
123  /* Final transformation*/
125 
126 };
127 
128 // end class ELASTIX
129 
130 } // end namespace elastix
131 
132 #endif
elastix::ELASTIX::GetResultImage
ImagePointer GetResultImage(void)
elxElastixMain.h
elastix::ELASTIX::ObjectPointer
elastix::ElastixMain::ObjectPointer ObjectPointer
Definition: elastixlib.h:53
elastix::ELASTIX::Image
itk::DataObject Image
Definition: elastixlib.h:44
ELASTIXLIB_API
#define ELASTIXLIB_API
Definition: elxMacro.h:301
itk::ParameterFileParser::ParameterMapType
std::map< std::string, ParameterValuesType > ParameterMapType
Definition: itkParameterFileParser.h:99
elastix::ELASTIX::ParameterMapType
itk::ParameterFileParser::ParameterMapType ParameterMapType
Definition: elastixlib.h:49
elastix::ELASTIX::GetTransformParameterMap
ParameterMapType GetTransformParameterMap(void)
itk::ParameterFileParser::ParameterValuesType
std::vector< std::string > ParameterValuesType
Definition: itkParameterFileParser.h:93
elastix::ELASTIX::RegisterImages
int RegisterImages(ImagePointer fixedImage, ImagePointer movingImage, std::vector< ParameterMapType > &parameterMaps, std::string outputPath, bool performLogging, bool performCout, ImagePointer fixedMask=0, ImagePointer movingMask=0, ObjectPointer transform=0)
elastix::ElastixMain::ObjectPointer
ObjectType::Pointer ObjectPointer
Definition: elxElastixMain.h:118
elastix::ELASTIX::m_ResultImage
ImagePointer m_ResultImage
Definition: elastixlib.h:121
itkParameterFileParser.h
elastix::ELASTIX::ImagePointer
Image::Pointer ImagePointer
Definition: elastixlib.h:45
elastix::ELASTIX::m_TransformParametersList
ParameterMapListType m_TransformParametersList
Definition: elastixlib.h:124
elastix::ELASTIX::GetCurrentDateAndTime
std::string GetCurrentDateAndTime(void)
elastix::ELASTIX::ParameterValuesType
itk::ParameterFileParser::ParameterValuesType ParameterValuesType
Definition: elastixlib.h:48
elastix::ELASTIX::ParameterMapListType
std::vector< itk::ParameterFileParser::ParameterMapType > ParameterMapListType
Definition: elastixlib.h:50
elastix::ELASTIX::RegisterImages
int RegisterImages(ImagePointer fixedImage, ImagePointer movingImage, ParameterMapType &parameterMap, std::string outputPath, bool performLogging, bool performCout, ImagePointer fixedMask=0, ImagePointer movingMask=0)
elastix::ELASTIX::ConvertSecondsToDHMS
std::string ConvertSecondsToDHMS(const double totalSeconds, const unsigned int precision=0)
elastix::ELASTIX::ELASTIX
ELASTIX()
elastix::ELASTIX::~ELASTIX
virtual ~ELASTIX()
elxMacro.h
elastix
Definition: elxFixedGenericPyramid.h:25
elastix::ELASTIX
Definition: elastixlib.h:40
elastix::ELASTIX::GetTransformParameterMapList
ParameterMapListType GetTransformParameterMapList(void)


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.20 elastix logo