ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkVectorNeighborhoodOperatorImageFilter.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 itkVectorNeighborhoodOperatorImageFilter_h
19#define itkVectorNeighborhoodOperatorImageFilter_h
20
23#include "itkImage.h"
25
26namespace itk
27{
56
57template <typename TInputImage, typename TOutputImage>
58class ITK_TEMPLATE_EXPORT VectorNeighborhoodOperatorImageFilter : public ImageToImageFilter<TInputImage, TOutputImage>
59{
60public:
61 ITK_DISALLOW_COPY_AND_MOVE(VectorNeighborhoodOperatorImageFilter);
62
68
70 itkNewMacro(Self);
71
73 itkOverrideGetNameOfClassMacro(VectorNeighborhoodOperatorImageFilter);
74
77 using InputImagePointer = typename TInputImage::Pointer;
78 using OutputImagePointer = typename TOutputImage::Pointer;
79 using OutputPixelType = typename TOutputImage::PixelType;
80 using OutputInternalPixelType = typename TOutputImage::InternalPixelType;
81 using InputPixelType = typename TInputImage::PixelType;
82 using InputInternalPixelType = typename TInputImage::InternalPixelType;
83 using ScalarValueType = typename OutputPixelType::ValueType;
84
86 static constexpr unsigned int ImageDimension = TOutputImage::ImageDimension;
87
89 using InputImageType = TInputImage;
90 using OutputImageType = TOutputImage;
91
94
97
101 void
107
108
114 void
119
127 void
129
131 itkConceptMacro(OutputHasNumericTraitsCheck,
133
134protected:
141
143
154 void
155 DynamicThreadedGenerateData(const OutputImageRegionType & outputRegionForThread) override;
156
157
158 void
159 PrintSelf(std::ostream & os, Indent indent) const override
160 {
161 Superclass::PrintSelf(os, indent);
162 }
163
164private:
167
171};
172} // end namespace itk
173
174#ifndef ITK_MANUAL_INSTANTIATION
175# include "itkVectorNeighborhoodOperatorImageFilter.hxx"
176#endif
177
178#endif
A virtual base object that defines an interface to a class of boundary condition objects for use by n...
virtual void DynamicMultiThreadingOn()
typename OutputImageType::RegionType OutputImageRegionType
void PrintSelf(std::ostream &os, Indent indent) const override
Control indentation during Print() invocation.
Definition itkIndent.h:50
A light-weight container object for storing an N-dimensional neighborhood of values.
virtual void Modified() const
virtual void ThreaderUpdateProgressOff()
Implements transparent reference counting.
ImageToImageFilter< TInputImage, TOutputImage > Superclass
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) override
void PrintSelf(std::ostream &os, Indent indent) const override
ImageBoundaryCondition< OutputImageType > * ImageBoundaryConditionPointerType
typename TOutputImage::InternalPixelType OutputInternalPixelType
~VectorNeighborhoodOperatorImageFilter() override=default
void SetOperator(const Neighborhood< ScalarValueType, Self::ImageDimension > &p)
void OverrideBoundaryCondition(const ImageBoundaryConditionPointerType i)
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....