go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxFixedImagePyramidBase.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 elxFixedImagePyramidBase_h
19#define elxFixedImagePyramidBase_h
20
22#include "elxMacro.h"
23
24#include "elxBaseComponentSE.h"
25#include "itkObject.h"
26#include "itkMultiResolutionPyramidImageFilter.h"
27
28namespace elastix
29{
30
57template <class TElastix>
58class ITK_TEMPLATE_EXPORT FixedImagePyramidBase : public BaseComponentSE<TElastix>
59{
60public:
62
66
69
71 using typename Superclass::ElastixType;
72 using typename Superclass::RegistrationType;
73
75 using InputImageType = typename ElastixType::FixedImageType;
76 using OutputImageType = typename ElastixType::FixedImageType;
77
79 using ITKBaseType = itk::MultiResolutionPyramidImageFilter<InputImageType, OutputImageType>;
80
82 using ScheduleType = typename ITKBaseType::ScheduleType;
83
87 {
88 return &(this->GetSelf());
89 }
90
91
93 const ITKBaseType *
95 {
96 return &(this->GetSelf());
97 }
98
99
103 void
105
109 void
111
113 virtual void
115
117 void
118 WritePyramidImage(const std::string & filename,
119 const unsigned int level); // const;
120
121protected:
125 ~FixedImagePyramidBase() override = default;
126
127private:
129};
130
131} // end namespace elastix
132
133#ifndef ITK_MANUAL_INSTANTIATION
134# include "elxFixedImagePyramidBase.hxx"
135#endif
136
137#endif // end #ifndef elxFixedImagePyramidBase_h
The BaseComponentSE class is a base class for elastix components that provides some basic functionali...
typename ElastixType::RegistrationBaseType RegistrationType
This class is the elastix base class for all FixedImagePyramids.
itk::MultiResolutionPyramidImageFilter< InputImageType, OutputImageType > ITKBaseType
void WritePyramidImage(const std::string &filename, const unsigned int level)
elxDeclarePureVirtualGetSelfMacro(ITKBaseType)
void BeforeEachResolutionBase() override
void BeforeRegistrationBase() override
~FixedImagePyramidBase() override=default
ITK_DISALLOW_COPY_AND_MOVE(FixedImagePyramidBase)
typename ElastixType::FixedImageType OutputImageType
typename ITKBaseType::ScheduleType ScheduleType
typename ElastixType::FixedImageType InputImageType
const ITKBaseType * GetAsITKBaseType() const


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