ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkContinuousBorderWarpImageFilter.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 * https://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 itkContinuousBorderWarpImageFilter_h
19#define itkContinuousBorderWarpImageFilter_h
20
21#include "itkWarpImageFilter.h"
22
23namespace itk
24{
25
58template <typename TInputImage, typename TOutputImage, typename TDisplacementField>
59class ContinuousBorderWarpImageFilter : public WarpImageFilter<TInputImage, TOutputImage, TDisplacementField>
60{
61public:
62 ITK_DISALLOW_COPY_AND_MOVE(ContinuousBorderWarpImageFilter);
63
69
71 itkNewMacro(Self);
72
74 itkOverrideGetNameOfClassMacro(ContinuousBorderWarpImageFilter);
75
78
85 using IndexType = typename OutputImageType::IndexType;
86 using SizeType = typename OutputImageType::SizeType;
87 using PixelType = typename OutputImageType::PixelType;
88 using SpacingType = typename OutputImageType::SpacingType;
89
91 static constexpr unsigned int ImageDimension = TOutputImage::ImageDimension;
92 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
93 static constexpr unsigned int DeformationFieldDimension = TDisplacementField::ImageDimension;
94
96 using DisplacementFieldType = TDisplacementField;
97 using DisplacementFieldPointer = typename DisplacementFieldType::Pointer;
98 using DisplacementType = typename DisplacementFieldType::PixelType;
99
102
105
106protected:
109
111 void
112 DynamicThreadedGenerateData(const OutputImageRegionType & outputRegionForThread) override;
113};
114
115} // end namespace itk
116
117#ifndef ITK_MANUAL_INSTANTIATION
118# include "itkContinuousBorderWarpImageFilter.hxx"
119#endif
120
121#endif
typename Superclass::InputImageConstPointer InputImageConstPointer
typename OutputImageType::SpacingType SpacingType
typename Superclass::InputImagePointer InputImagePointer
typename Superclass::InterpolatorType InterpolatorType
~ContinuousBorderWarpImageFilter() override=default
typename DisplacementFieldType::Pointer DisplacementFieldPointer
typename Superclass::OutputImageType OutputImageType
typename DisplacementFieldType::PixelType DisplacementType
typename Superclass::InputImageType InputImageType
typename Superclass::OutputImagePointer OutputImagePointer
WarpImageFilter< TInputImage, TOutputImage, TDisplacementField > Superclass
typename Superclass::OutputImageRegionType OutputImageRegionType
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) override
TOutputImage OutputImageType
typename OutputImageType::Pointer OutputImagePointer
Implements transparent reference counting.
typename InputImageType::ConstPointer InputImageConstPointer
typename InputImageType::Pointer InputImagePointer
Point< CoordinateType, Self::ImageDimension > PointType
InterpolateImageFunction< InputImageType, CoordinateType > InterpolatorType
typename TOutputImage::RegionType OutputImageRegionType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....