ITK  4.13.0
Insight Segmentation and Registration Toolkit
itkShapeDetectionLevelSetImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
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  * http://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,
106  typename TFeatureImage,
107  typename TOutputPixelType = float >
108 class ITK_TEMPLATE_EXPORT ShapeDetectionLevelSetImageFilter:
109  public SegmentationLevelSetImageFilter< TInputImage,
110  TFeatureImage, TOutputPixelType >
111 {
112 public:
118 
120  typedef typename Superclass::ValueType ValueType;
121  typedef typename Superclass::OutputImageType OutputImageType;
122  typedef typename Superclass::FeatureImageType FeatureImageType;
123 
128 
131 
133  itkNewMacro(Self);
134 
135 protected:
138 
139  virtual void PrintSelf(std::ostream & os, Indent indent) const ITK_OVERRIDE;
140 
141  ITK_DISALLOW_COPY_AND_ASSIGN(ShapeDetectionLevelSetImageFilter);
142 
145  void GenerateData() ITK_OVERRIDE;
146 
147 private:
148  ShapeDetectionFunctionPointer m_ShapeDetectionFunction;
149 };
150 } // end namespace itk
151 
152 #ifndef ITK_MANUAL_INSTANTIATION
153 #include "itkShapeDetectionLevelSetImageFilter.hxx"
154 #endif
155 
156 #endif
Light weight base class for most itk classes.
This function is used in the ShapeDetectionLevelSetImageFilter to segment structures in an image base...
SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType > Superclass
Segments structures in images based on a user supplied edge potential map.
ShapeDetectionFunctionType::Pointer ShapeDetectionFunctionPointer
ShapeDetectionLevelSetFunction< OutputImageType, FeatureImageType > ShapeDetectionFunctionType
Control indentation during Print() invocation.
Definition: itkIndent.h:49
A base class which defines the API for implementing a special class of image segmentation filters usi...
Templated n-dimensional image class.
Definition: itkImage.h:75