ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkRegionGrowImageFilter.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 itkRegionGrowImageFilter_h
19#define itkRegionGrowImageFilter_h
20
21#include "itkObject.h"
23
24namespace itk
25{
84template <typename TInputImage, typename TOutputImage>
85class ITK_TEMPLATE_EXPORT RegionGrowImageFilter : public ImageToImageFilter<TInputImage, TOutputImage>
86{
87public:
88 ITK_DISALLOW_COPY_AND_MOVE(RegionGrowImageFilter);
89
95
97 itkOverrideGetNameOfClassMacro(RegionGrowImageFilter);
98
100 using InputImageType = TInputImage;
101 using InputImagePointer = typename TInputImage::Pointer;
102 using InputImageConstPointer = typename TInputImage::ConstPointer;
103
105 using InputImagePixelType = typename TInputImage::PixelType;
106
108 using OutputImageType = TOutputImage;
109 using OutputImagePointer = typename TOutputImage::Pointer;
110
112 using OutputImagePixelType = typename TOutputImage::PixelType;
113
115 using GridSizeType = typename TInputImage::SizeType;
116
118 itkSetMacro(GridSize, GridSizeType);
119 itkGetConstReferenceMacro(GridSize, GridSizeType);
121
123 itkSetMacro(MaximumNumberOfRegions, unsigned int);
124 itkGetConstReferenceMacro(MaximumNumberOfRegions, unsigned int);
126
128 virtual void
130
132 virtual void
134
135protected:
137 ~RegionGrowImageFilter() override = default;
138 void
139 PrintSelf(std::ostream & os, Indent indent) const override;
140
141private:
143
145}; // class RegionGrowImageFilter
146} // namespace itk
147
148#ifndef ITK_MANUAL_INSTANTIATION
149# include "itkRegionGrowImageFilter.hxx"
150#endif
151
152#endif
Control indentation during Print() invocation.
Definition itkIndent.h:50
typename TInputImage::PixelType InputImagePixelType
~RegionGrowImageFilter() override=default
typename TOutputImage::Pointer OutputImagePointer
ImageToImageFilter< TInputImage, TOutputImage > Superclass
typename TOutputImage::PixelType OutputImagePixelType
virtual void ApplyRegionGrowImageFilter()=0
virtual void MergeRegions()=0
typename TInputImage::ConstPointer InputImageConstPointer
typename TInputImage::Pointer InputImagePointer
typename TInputImage::SizeType GridSizeType
SmartPointer< const Self > ConstPointer
void PrintSelf(std::ostream &os, Indent indent) const override
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....