ITK  6.0.0
Insight Toolkit
itkShapeDetectionLevelSetImageFilter.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 itkShapeDetectionLevelSetImageFilter_h
19 #define itkShapeDetectionLevelSetImageFilter_h
20 
23 
24 namespace itk
25 {
105 template <typename TInputImage, typename TFeatureImage, typename TOutputPixelType = float>
106 class ITK_TEMPLATE_EXPORT ShapeDetectionLevelSetImageFilter
107  : public SegmentationLevelSetImageFilter<TInputImage, TFeatureImage, TOutputPixelType>
108 {
109 public:
110  ITK_DISALLOW_COPY_AND_MOVE(ShapeDetectionLevelSetImageFilter);
111 
117 
119  using typename Superclass::ValueType;
120  using typename Superclass::OutputImageType;
121  using typename Superclass::FeatureImageType;
122 
126 
128  itkOverrideGetNameOfClassMacro(ShapeDetectionLevelSetImageFilter);
129 
131  itkNewMacro(Self);
132 
133 protected:
134  ~ShapeDetectionLevelSetImageFilter() override = default;
136 
137  void
138  PrintSelf(std::ostream & os, Indent indent) const override;
139 
142  void
143  GenerateData() override;
144 
145 private:
146  ShapeDetectionFunctionPointer m_ShapeDetectionFunction{};
147 };
148 } // end namespace itk
149 
150 #ifndef ITK_MANUAL_INSTANTIATION
151 # include "itkShapeDetectionLevelSetImageFilter.hxx"
152 #endif
153 
154 #endif
itk::SegmentationLevelSetImageFilter
A base class which defines the API for implementing a special class of image segmentation filters usi...
Definition: itkSegmentationLevelSetImageFilter.h:144
Pointer
SmartPointer< Self > Pointer
Definition: itkAddImageFilter.h:93
itk::ShapeDetectionLevelSetFunction
This function is used in the ShapeDetectionLevelSetImageFilter to segment structures in an image base...
Definition: itkShapeDetectionLevelSetFunction.h:72
itkShapeDetectionLevelSetFunction.h
itk::ShapeDetectionLevelSetImageFilter::ShapeDetectionFunctionPointer
typename ShapeDetectionFunctionType::Pointer ShapeDetectionFunctionPointer
Definition: itkShapeDetectionLevelSetImageFilter.h:125
itk::SmartPointer< Self >
itk::Indent
Control indentation during Print() invocation.
Definition: itkIndent.h:49
itkSegmentationLevelSetImageFilter.h
itk::LightObject
Light weight base class for most itk classes.
Definition: itkLightObject.h:55
itk::ShapeDetectionLevelSetImageFilter
Segments structures in images based on a user supplied edge potential map.
Definition: itkShapeDetectionLevelSetImageFilter.h:106
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnatomicalOrientation.h:29