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>
26#include "elxMacro.h"
27#include "elxElastixMain.h"
28
29
30/********************************************************************************
31 * *
32 * Class definition *
33 * *
34 ********************************************************************************/
35
36namespace elastix
37{
38
40{
41public:
42 // typedefs for images
43 using Image = itk::DataObject;
44 using ImagePointer = Image::Pointer;
45 using ConstImagePointer = Image::ConstPointer;
46
47 // typedefs for parameter map
50 using ParameterMapListType = std::vector<itk::ParameterFileParser::ParameterMapType>;
51
52 // typedefs for ObjectPointer
54
59 virtual ~ELASTIX();
60
86 int
88 ImagePointer movingImage,
89 const ParameterMapType & parameterMap,
90 const std::string & outputPath,
91 bool performLogging,
92 bool performCout,
93 ImagePointer fixedMask = nullptr,
94 ImagePointer movingMask = nullptr);
95
96 int
98 ImagePointer movingImage,
99 const std::vector<ParameterMapType> & parameterMaps,
100 const std::string & outputPath,
101 bool performLogging,
102 bool performCout,
103 ImagePointer fixedMask = nullptr,
104 ImagePointer movingMask = nullptr,
105 ObjectPointer transform = nullptr);
106
110
114
118
122
123private:
124 /* the result images */
126
127 /* Final transformation*/
129};
130
131// end class ELASTIX
132
133} // end namespace elastix
134
135#endif
Image::ConstPointer ConstImagePointer
Definition elastixlib.h:45
int RegisterImages(ImagePointer fixedImage, ImagePointer movingImage, const ParameterMapType &parameterMap, const std::string &outputPath, bool performLogging, bool performCout, ImagePointer fixedMask=nullptr, ImagePointer movingMask=nullptr)
elastix::ElastixMain::ObjectPointer ObjectPointer
Definition elastixlib.h:53
virtual ~ELASTIX()
itk::DataObject Image
Definition elastixlib.h:43
ImagePointer GetResultImage()
int RegisterImages(ImagePointer fixedImage, ImagePointer movingImage, const std::vector< ParameterMapType > &parameterMaps, const std::string &outputPath, bool performLogging, bool performCout, ImagePointer fixedMask=nullptr, ImagePointer movingMask=nullptr, ObjectPointer transform=nullptr)
ParameterMapListType GetTransformParameterMapList() const
Image::Pointer ImagePointer
Definition elastixlib.h:44
ImagePointer m_ResultImage
Definition elastixlib.h:125
ConstImagePointer GetResultImage() const
ParameterMapType GetTransformParameterMap() const
itk::ParameterFileParser::ParameterMapType ParameterMapType
Definition elastixlib.h:49
itk::ParameterFileParser::ParameterValuesType ParameterValuesType
Definition elastixlib.h:48
ParameterMapListType m_TransformParametersList
Definition elastixlib.h:128
std::vector< itk::ParameterFileParser::ParameterMapType > ParameterMapListType
Definition elastixlib.h:50
itk::Object::Pointer ObjectPointer
Definition elxMainBase.h:61
std::map< std::string, ParameterValuesType > ParameterMapType
std::vector< std::string > ParameterValuesType
#define ELASTIXLIB_API
Definition elxMacro.h:169


Generated on 2024-07-17 for elastix by doxygen 1.11.0 (9b424b03c9833626cd435af22a444888fbbb192d) elastix logo