ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkBoxMeanImageFilter.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 itkBoxMeanImageFilter_h
19#define itkBoxMeanImageFilter_h
20
21#include "itkBoxImageFilter.h"
22
23namespace itk
24{
40
41template <typename TInputImage, typename TOutputImage = TInputImage>
42class ITK_TEMPLATE_EXPORT BoxMeanImageFilter : public BoxImageFilter<TInputImage, TOutputImage>
43{
44public:
45 ITK_DISALLOW_COPY_AND_MOVE(BoxMeanImageFilter);
46
52
54 itkNewMacro(Self);
55
57 itkOverrideGetNameOfClassMacro(BoxMeanImageFilter);
58
60 using InputImageType = TInputImage;
61 using OutputImageType = TOutputImage;
62 using RegionType = typename TInputImage::RegionType;
63 using SizeType = typename TInputImage::SizeType;
64 using IndexType = typename TInputImage::IndexType;
65 using PixelType = typename TInputImage::PixelType;
66 using OffsetType = typename TInputImage::OffsetType;
68 using OutputPixelType = typename TOutputImage::PixelType;
69
71 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
72 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
73
75
76protected:
78 ~BoxMeanImageFilter() override = default;
79
81 void
82 DynamicThreadedGenerateData(const OutputImageRegionType & outputRegionForThread) override;
83
84}; // end of class
85} // end namespace itk
86
87#ifndef ITK_MANUAL_INSTANTIATION
88# include "itkBoxMeanImageFilter.hxx"
89#endif
90
91#endif
typename TInputImage::OffsetType OffsetType
BoxImageFilter< TInputImage, TOutputImage > Superclass
static constexpr unsigned int OutputImageDimension
static constexpr unsigned int InputImageDimension
typename TOutputImage::PixelType OutputPixelType
typename TInputImage::IndexType IndexType
typename TInputImage::SizeType SizeType
typename TInputImage::PixelType PixelType
SmartPointer< Self > Pointer
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) override
~BoxMeanImageFilter() override=default
SmartPointer< const Self > ConstPointer
typename TInputImage::RegionType RegionType
typename OutputImageType::RegionType OutputImageRegionType
typename OutputImageType::RegionType OutputImageRegionType
Implements transparent reference counting.
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....