ITK  5.2.0
Insight Toolkit
itkBSplineUpsampleImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright NumFOCUS
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 /*=========================================================================
19  *
20  * Portions of this file are subject to the VTK Toolkit Version 3 copyright.
21  *
22  * Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
23  *
24  * For complete copyright, license and disclaimer of warranty information
25  * please refer to the NOTICE file at the top of the ITK source tree.
26  *
27  *=========================================================================*/
28 #ifndef itkBSplineUpsampleImageFilter_h
29 #define itkBSplineUpsampleImageFilter_h
30 
31 // include .h for each ResamplerType
34 
35 namespace itk
36 {
83 template <typename TInputImage,
84  typename TOutputImage,
85  typename ResamplerType = BSplineResampleImageFilterBase<TInputImage, TOutputImage>>
86 class ITK_TEMPLATE_EXPORT BSplineUpsampleImageFilter : public ResamplerType
87 {
88 public:
89  ITK_DISALLOW_COPY_AND_ASSIGN(BSplineUpsampleImageFilter);
90 
93  using Superclass = ResamplerType;
96 
98  itkTypeMacro(BSplineUpsampleImageFilter, ReamplerType);
99 
101  itkNewMacro(Self);
102 
104  using InputImageType = typename Superclass::InputImageType;
105 
107  using InputImagePointer = typename Superclass::InputImagePointer;
108 
110  using OutputImageIterator = typename Superclass::OutputImageIterator;
111 
113  using OutputImagePointer = typename Superclass::OutputImagePointer;
114 
117  void
118  GenerateOutputInformation() override;
119 
121  void
122  GenerateInputRequestedRegion() override;
123 
124 #ifdef ITK_USE_CONCEPT_CHECKING
125  // Begin concept checking
127  // End concept checking
128 #endif
129 
130 protected:
131  void
132  GenerateData() override;
133 
134  void
135  EnlargeOutputRequestedRegion(DataObject * output) override;
136 
137  BSplineUpsampleImageFilter() = default;
138  ~BSplineUpsampleImageFilter() override = default;
139  void
140  PrintSelf(std::ostream & os, Indent indent) const override;
141 };
142 } // namespace itk
143 
144 #ifndef ITK_MANUAL_INSTANTIATION
145 # include "itkBSplineUpsampleImageFilter.hxx"
146 #endif
147 
148 #endif
itkBSplineL2ResampleImageFilterBase.h
itkBSplineCenteredL2ResampleImageFilterBase.h
itk::BSplineUpsampleImageFilter::Superclass
ResamplerType Superclass
Definition: itkBSplineUpsampleImageFilter.h:93
itk::BSplineUpsampleImageFilter::InputImagePointer
typename Superclass::InputImagePointer InputImagePointer
Definition: itkBSplineUpsampleImageFilter.h:107
itk::SmartPointer< Self >
itk::Indent
Control indentation during Print() invocation.
Definition: itkIndent.h:49
itk::BSplineUpsampleImageFilter::OutputImageIterator
typename Superclass::OutputImageIterator OutputImageIterator
Definition: itkBSplineUpsampleImageFilter.h:110
itk::BSplineUpsampleImageFilter::InputImageType
typename Superclass::InputImageType InputImageType
Definition: itkBSplineUpsampleImageFilter.h:104
itkConceptMacro
#define itkConceptMacro(name, concept)
Definition: itkConceptChecking.h:64
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24
itk::Concept::Convertible
Definition: itkConceptChecking.h:214
itk::BSplineUpsampleImageFilter::OutputImagePointer
typename Superclass::OutputImagePointer OutputImagePointer
Definition: itkBSplineUpsampleImageFilter.h:113
itk::BSplineUpsampleImageFilter
Uses B-Spline interpolation to upsample an image by a factor of 2. This class is the public interface...
Definition: itkBSplineUpsampleImageFilter.h:86
itk::DataObject
Base class for all data objects in ITK.
Definition: itkDataObject.h:293