ITK  4.6.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< typename TInputImage,
102  typename TFeatureImage,
103  typename TOutputPixelType = float >
105  public SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >
106 {
107 public:
113 
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  // Begin concept checking
142  itkConceptMacro( OutputHasNumericTraitsCheck,
144  // End concept checking
145 #endif
146 
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
Light weight base class for most itk classes.
virtual void PrintSelf(std::ostream &os, Indent indent) const
CurvesLevelSetFunction< OutputImageType, FeatureImageType > CurvesFunctionType
void operator=(const Self &)
Image< TOutputPixelType, itkGetStaticConstMacro(InputImageDimension) > OutputImageType
virtual void Modified() const
Segments structures in images based on user supplied edge potential map.
Superclass::FeatureImageType FeatureImageType
This function is used in CurvesLevelSetImageFilter to segment structures in images based on user supp...
Control indentation during Print() invocation.
Definition: itkIndent.h:49
Superclass::OutputImageType OutputImageType
CurvesFunctionType::Pointer CurvesFunctionPointer
#define itkConceptMacro(name, concept)
A base class which defines the API for implementing a special class of image segmentation filters usi...
SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType > Superclass