ITK  4.6.0
Insight Segmentation and Registration Toolkit
itkGeodesicActiveContourShapePriorLevelSetImageFilter.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 __itkGeodesicActiveContourShapePriorLevelSetImageFilter_h
19 #define __itkGeodesicActiveContourShapePriorLevelSetImageFilter_h
20 
24 
25 namespace itk
26 {
110 template< typename TInputImage,
111  typename TFeatureImage,
112  typename TOutputPixelType = float >
114  public ShapePriorSegmentationLevelSetImageFilter< TInputImage, TFeatureImage,
115  TOutputPixelType >
116 {
117 public:
121  typedef ShapePriorSegmentationLevelSetImageFilter< TInputImage, TFeatureImage,
122  TOutputPixelType > Superclass;
123 
126 
132 
139 
143 
145  itkNewMacro(Self);
146 
149  void SetDerivativeSigma(float value)
150  {
151  if ( value != m_GeodesicActiveContourFunction->GetDerivativeSigma() )
152  {
153  m_GeodesicActiveContourFunction->SetDerivativeSigma(value);
154  this->Modified();
155  }
156  }
158 
161  float GetDerivativeSigma() const
162  { return m_GeodesicActiveContourFunction->GetDerivativeSigma(); }
163 
164 protected:
167 
168  virtual void PrintSelf(std::ostream & os, Indent indent) const;
169 
171  // not
172  //
173  // implemented
174  void operator=(const Self &); //purposely
175 
176  // not
177  // implemented
178 
181  void GenerateData();
182 
183 private:
185 };
186 } // end namespace itk
187 
188 #ifndef ITK_MANUAL_INSTANTIATION
189 #include "itkGeodesicActiveContourShapePriorLevelSetImageFilter.hxx"
190 #endif
191 
192 #endif
Light weight base class for most itk classes.
ShapePriorSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType > Superclass
Segments structures in an image based on a user supplied edge potential map and user supplied shape m...
This function is used in GeodesicActiveContourShapePriorSegmentationLevelSetFilter to segment structu...
virtual void PrintSelf(std::ostream &os, Indent indent) const
virtual void Modified() const
Control indentation during Print() invocation.
Definition: itkIndent.h:49
GeodesicActiveContourShapePriorLevelSetFunction< OutputImageType, FeatureImageType > GeodesicActiveContourFunctionType
A base class which defines the API for implementing a level set segmentation filter with statistical ...