ITK  4.4.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 
148 protected:
151 
152  virtual void PrintSelf(std::ostream & os, Indent indent) const;
153 
154  CurvesLevelSetImageFilter(const Self &); // purposely not implemented
155  void operator=(const Self &); //purposely not implemented
156 
159  void GenerateData();
160 
161 private:
163 };
164 } // end namespace itk
165 
166 #ifndef ITK_MANUAL_INSTANTIATION
167 #include "itkCurvesLevelSetImageFilter.hxx"
168 #endif
169 
170 #endif
171