ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkHConcaveImageFilter.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 itkHConcaveImageFilter_h
19#define itkHConcaveImageFilter_h
20
22
23namespace itk
24{
43template <typename TInputImage, typename TOutputImage>
44class ITK_TEMPLATE_EXPORT HConcaveImageFilter : public ImageToImageFilter<TInputImage, TOutputImage>
45{
46public:
47 ITK_DISALLOW_COPY_AND_MOVE(HConcaveImageFilter);
48
54
56 using InputImageType = TInputImage;
57 using InputImagePointer = typename InputImageType::Pointer;
58 using InputImageConstPointer = typename InputImageType::ConstPointer;
59 using InputImageRegionType = typename InputImageType::RegionType;
60 using InputImagePixelType = typename InputImageType::PixelType;
61 using OutputImageType = TOutputImage;
62 using OutputImagePointer = typename OutputImageType::Pointer;
63 using OutputImageConstPointer = typename OutputImageType::ConstPointer;
64 using OutputImageRegionType = typename OutputImageType::RegionType;
65 using OutputImagePixelType = typename OutputImageType::PixelType;
66
68 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
69 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
70
72 itkNewMacro(Self);
73
75 itkOverrideGetNameOfClassMacro(HConcaveImageFilter);
76
82 itkSetMacro(Height, InputImagePixelType);
83 itkGetConstMacro(Height, InputImagePixelType);
92 itkSetMacro(FullyConnected, bool);
93 itkGetConstReferenceMacro(FullyConnected, bool);
94 itkBooleanMacro(FullyConnected);
99
100protected:
102 ~HConcaveImageFilter() override = default;
103 void
104 PrintSelf(std::ostream & os, Indent indent) const override;
105
109 void
111
113 void
114 EnlargeOutputRequestedRegion(DataObject * itkNotUsed(output)) override;
115
118 void
119 GenerateData() override;
120
121private:
123 unsigned long m_NumberOfIterationsUsed{ 1 };
124 bool m_FullyConnected{ false };
125}; // end of class
126} // end namespace itk
127
128#ifndef ITK_MANUAL_INSTANTIATION
129# include "itkHConcaveImageFilter.hxx"
130#endif
131
132#endif
Base class for all data objects in ITK.
typename OutputImageType::ConstPointer OutputImageConstPointer
typename OutputImageType::RegionType OutputImageRegionType
SmartPointer< const Self > ConstPointer
static constexpr unsigned int OutputImageDimension
void PrintSelf(std::ostream &os, Indent indent) const override
typename InputImageType::Pointer InputImagePointer
void GenerateData() override
typename OutputImageType::Pointer OutputImagePointer
typename InputImageType::RegionType InputImageRegionType
void EnlargeOutputRequestedRegion(DataObject *output) override
void GenerateInputRequestedRegion() override
typename OutputImageType::PixelType OutputImagePixelType
typename InputImageType::ConstPointer InputImageConstPointer
~HConcaveImageFilter() override=default
typename InputImageType::PixelType InputImagePixelType
static constexpr unsigned int InputImageDimension
ImageToImageFilter< TInputImage, TOutputImage > Superclass
Control indentation during Print() invocation.
Definition itkIndent.h:50
Implements transparent reference counting.
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....