ITK  6.0.0
Insight Toolkit
itkBoxSigmaImageFilter.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 itkBoxSigmaImageFilter_h
19#define itkBoxSigmaImageFilter_h
20
21#include "itkBoxImageFilter.h"
22
23namespace itk
24{
39template <typename TInputImage, typename TOutputImage = TInputImage>
40class ITK_TEMPLATE_EXPORT BoxSigmaImageFilter : public BoxImageFilter<TInputImage, TOutputImage>
41{
42public:
43 ITK_DISALLOW_COPY_AND_MOVE(BoxSigmaImageFilter);
44
50
52 itkNewMacro(Self);
53
55 itkOverrideGetNameOfClassMacro(BoxSigmaImageFilter);
56
58 using InputImageType = TInputImage;
59 using OutputImageType = TOutputImage;
63 using PixelType = typename TInputImage::PixelType;
64 using OffsetType = typename TInputImage::OffsetType;
65 using typename Superclass::OutputImageRegionType;
66 using OutputPixelType = typename TOutputImage::PixelType;
67
69 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
70 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
71
72#ifdef ITK_USE_CONCEPT_CHECKING
73 // Begin concept checking
75
76 // End concept checking
77#endif
78
79protected:
81 ~BoxSigmaImageFilter() override = default;
82
84 void
85 DynamicThreadedGenerateData(const OutputImageRegionType & outputRegionForThread) override;
86
87}; // end of class
88} // end namespace itk
89
90#ifndef ITK_MANUAL_INSTANTIATION
91# include "itkBoxSigmaImageFilter.hxx"
92#endif
93
94#endif
A base class for all the filters working on a box neighborhood.
Implements a fast rectangular sigma filter using the accumulator approach.
typename TInputImage::OffsetType OffsetType
~BoxSigmaImageFilter() override=default
typename TInputImage::SizeType SizeType
typename TInputImage::RegionType RegionType
typename TInputImage::IndexType IndexType
typename TOutputImage::PixelType OutputPixelType
typename TInputImage::PixelType PixelType
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) override
typename OutputImageType::RegionType OutputImageRegionType
Light weight base class for most itk classes.
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....