ITK  4.2.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< class TInputImage,
111  class TFeatureImage,
112  class TOutputPixelType = float >
114  public ShapePriorSegmentationLevelSetImageFilter< TInputImage, TFeatureImage,
115  TOutputPixelType >
116 {
117 public:
121  typedef ShapePriorSegmentationLevelSetImageFilter< TInputImage, TFeatureImage,
122  TOutputPixelType > Superclass;
123 
126 
128  typedef typename Superclass::ValueType ValueType;
129  typedef typename Superclass::OutputImageType OutputImageType;
130  typedef typename Superclass::FeatureImageType FeatureImageType;
131  typedef typename Superclass::OutputPixelType OutputPixelType;
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 protected:
167 
168  virtual void PrintSelf(std::ostream & os, Indent indent) const;
169 
170  GeodesicActiveContourShapePriorLevelSetImageFilter(const Self &); // purposely
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
193