ITK  4.2.0
Insight Segmentation and Registration Toolkit
itkCurvesLevelSetImageFilter.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 __itkCurvesLevelSetImageFilter_h
19 #define __itkCurvesLevelSetImageFilter_h
20 
23 
24 namespace itk
25 {
101 template< class TInputImage,
102  class TFeatureImage,
103  class TOutputPixelType = float >
104 class ITK_EXPORT CurvesLevelSetImageFilter:
105  public SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >
106 {
107 public:
113 
115  typedef typename Superclass::ValueType ValueType;
116  typedef typename Superclass::OutputImageType OutputImageType;
117  typedef typename Superclass::FeatureImageType FeatureImageType;
118 
122 
125 
127  itkNewMacro(Self);
128 
130  void SetDerivativeSigma(float value)
131  {
132  m_CurvesFunction->SetDerivativeSigma(value);
133  this->Modified();
134  }
136 
137  float GetDerivativeSigma() const
138  { return m_CurvesFunction->GetDerivativeSigma(); }
139 
140 #ifdef ITK_USE_CONCEPT_CHECKING
141 
142  itkConceptMacro( OutputHasNumericTraitsCheck,
144 
146 #endif
147 protected:
150 
151  virtual void PrintSelf(std::ostream & os, Indent indent) const;
152 
153  CurvesLevelSetImageFilter(const Self &); // purposely not implemented
154  void operator=(const Self &); //purposely not implemented
155 
158  void GenerateData();
159 
160 private:
162 };
163 } // end namespace itk
164 
165 #ifndef ITK_MANUAL_INSTANTIATION
166 #include "itkCurvesLevelSetImageFilter.hxx"
167 #endif
168 
169 #endif
170