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
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
87 ImagePointer movingImage,
88 const ParameterMapType & parameterMap,
89 const std::string & outputPath,
90 bool performLogging,
91 bool performCout,
92 ImagePointer fixedMask = nullptr,
93 ImagePointer movingMask = nullptr );
94
96 ImagePointer movingImage,
97 const std::vector< ParameterMapType > & parameterMaps,
98 const std::string & outputPath,
99 bool performLogging,
100 bool performCout,
101 ImagePointer fixedMask = nullptr,
102 ImagePointer movingMask = nullptr,
103 ObjectPointer transform = nullptr);
104
107
110
113
114private:
115
116 /* the result images */
118
119 /* Final transformation*/
121
122};
123
124// end class ELASTIX
125
126} // end namespace elastix
127
128#endif
std::vector< itk::ParameterFileParser::ParameterMapType > ParameterMapListType
Definition: elastixlib.h:50
int RegisterImages(ImagePointer fixedImage, ImagePointer movingImage, const ParameterMapType &parameterMap, const std::string &outputPath, bool performLogging, bool performCout, ImagePointer fixedMask=nullptr, ImagePointer movingMask=nullptr)
ImagePointer GetResultImage(void)
virtual ~ELASTIX()
itk::DataObject Image
Definition: elastixlib.h:44
elastix::ElastixMain::ObjectPointer ObjectPointer
Definition: elastixlib.h:53
Image::Pointer ImagePointer
Definition: elastixlib.h:45
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)
ImagePointer m_ResultImage
Definition: elastixlib.h:117
ParameterMapType GetTransformParameterMap(void)
itk::ParameterFileParser::ParameterValuesType ParameterValuesType
Definition: elastixlib.h:48
itk::ParameterFileParser::ParameterMapType ParameterMapType
Definition: elastixlib.h:49
ParameterMapListType GetTransformParameterMapList(void)
ParameterMapListType m_TransformParametersList
Definition: elastixlib.h:120
ObjectType::Pointer ObjectPointer
std::vector< std::string > ParameterValuesType
std::map< std::string, ParameterValuesType > ParameterMapType
#define ELASTIXLIB_API
Definition: elxMacro.h:301


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo