ITK  4.6.0
Insight Segmentation and Registration Toolkit
itkGeodesicActiveContourLevelSetImageFilter.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 __itkGeodesicActiveContourLevelSetImageFilter_h
19 #define __itkGeodesicActiveContourLevelSetImageFilter_h
20 
23 
24 namespace itk
25 {
104 template< typename TInputImage,
105  typename TFeatureImage,
106  typename TOutputPixelType = float >
108  public SegmentationLevelSetImageFilter< TInputImage, TFeatureImage,
109  TOutputPixelType >
110 {
111 public:
114  typedef SegmentationLevelSetImageFilter< TInputImage, TFeatureImage,
115  TOutputPixelType > Superclass;
116 
119 
124 
129 
132 
134  itkNewMacro(Self);
135 
138  void SetDerivativeSigma(float value)
139  {
140  if ( value != m_GeodesicActiveContourFunction->GetDerivativeSigma() )
141  {
142  m_GeodesicActiveContourFunction->SetDerivativeSigma(value);
143  this->Modified();
144  }
145  }
147 
150  float GetDerivativeSigma() const
151  { return m_GeodesicActiveContourFunction->GetDerivativeSigma(); }
152 
153 protected:
156 
157  virtual void PrintSelf(std::ostream & os, Indent indent) const;
158 
159  GeodesicActiveContourLevelSetImageFilter(const Self &); // purposely not
160  // implemented
161  void operator=(const Self &); //purposely not
162 
163  // implemented
164 
167  void GenerateData();
168 
169 private:
171 };
172 } // end namespace itk
173 
174 #ifndef ITK_MANUAL_INSTANTIATION
175 #include "itkGeodesicActiveContourLevelSetImageFilter.hxx"
176 #endif
177 
178 #endif
Light weight base class for most itk classes.
virtual void PrintSelf(std::ostream &os, Indent indent) const
GeodesicActiveContourLevelSetFunction< OutputImageType, FeatureImageType > GeodesicActiveContourFunctionType
Image< TOutputPixelType, itkGetStaticConstMacro(InputImageDimension) > OutputImageType
virtual void Modified() const
GeodesicActiveContourFunctionType::Pointer GeodesicActiveContourFunctionPointer
Control indentation during Print() invocation.
Definition: itkIndent.h:49
SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType > Superclass
This function is used in GeodesicActiveContourLevelSetImageFilter to segment structures in an image b...
Segments structures in images based on a user supplied edge potential map.
A base class which defines the API for implementing a special class of image segmentation filters usi...