go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkMultiResolutionShrinkPyramidImageFilter.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 itkMultiResolutionShrinkPyramidImageFilter_h
19#define itkMultiResolutionShrinkPyramidImageFilter_h
20
21#include "itkMultiResolutionPyramidImageFilter.h"
22
23namespace itk
24{
25
38template <class TInputImage, class TOutputImage>
40 : public MultiResolutionPyramidImageFilter<TInputImage, TOutputImage>
41{
42public:
44
47 using Superclass = MultiResolutionPyramidImageFilter<TInputImage, TOutputImage>;
48 using Pointer = SmartPointer<Self>;
49 using ConstPointer = SmartPointer<const Self>;
50
52 itkNewMacro(Self);
53
55 itkTypeMacro(MultiResolutionShrinkPyramidImageFilter, MultiResolutionPyramidImageFilter);
56
58 itkStaticConstMacro(ImageDimension, unsigned int, TInputImage::ImageDimension);
59 itkStaticConstMacro(OutputImageDimension, unsigned int, TOutputImage::ImageDimension);
60
62 using typename Superclass::ScheduleType;
63 using typename Superclass::InputImageType;
64 using typename Superclass::OutputImageType;
65 using typename Superclass::InputImagePointer;
66 using typename Superclass::OutputImagePointer;
67 using typename Superclass::InputImageConstPointer;
68
70 void
72
73#ifdef ITK_USE_CONCEPT_CHECKING
75 itkConceptMacro(SameDimensionCheck, (Concept::SameDimension<ImageDimension, OutputImageDimension>));
76 itkConceptMacro(OutputHasNumericTraitsCheck, (Concept::HasNumericTraits<typename TOutputImage::PixelType>));
78#endif
79
80protected:
83
85 void
86 GenerateData() override;
87};
88
89} // namespace itk
90
91#ifndef ITK_MANUAL_INSTANTIATION
92# include "itkMultiResolutionShrinkPyramidImageFilter.hxx"
93#endif
94
95#endif
Framework for creating images in a multi-resolution pyramid.
MultiResolutionPyramidImageFilter< TInputImage, TOutputImage > Superclass
itkStaticConstMacro(ImageDimension, unsigned int, TInputImage::ImageDimension)
~MultiResolutionShrinkPyramidImageFilter() override=default
itkStaticConstMacro(OutputImageDimension, unsigned int, TOutputImage::ImageDimension)
ITK_DISALLOW_COPY_AND_MOVE(MultiResolutionShrinkPyramidImageFilter)


Generated on 2023-01-13 for elastix by doxygen 1.9.6 elastix logo