ITK  4.1.0
Insight Segmentation and Registration Toolkit
itkLaplacianSegmentationLevelSetImageFilter.h
Go to the documentation of this file.
00001 /*=========================================================================
00002  *
00003  *  Copyright Insight Software Consortium
00004  *
00005  *  Licensed under the Apache License, Version 2.0 (the "License");
00006  *  you may not use this file except in compliance with the License.
00007  *  You may obtain a copy of the License at
00008  *
00009  *         http://www.apache.org/licenses/LICENSE-2.0.txt
00010  *
00011  *  Unless required by applicable law or agreed to in writing, software
00012  *  distributed under the License is distributed on an "AS IS" BASIS,
00013  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  *  See the License for the specific language governing permissions and
00015  *  limitations under the License.
00016  *
00017  *=========================================================================*/
00018 #ifndef __itkLaplacianSegmentationLevelSetImageFilter_h
00019 #define __itkLaplacianSegmentationLevelSetImageFilter_h
00020 
00021 #include "itkSegmentationLevelSetImageFilter.h"
00022 #include "itkLaplacianSegmentationLevelSetFunction.h"
00023 
00024 namespace itk
00025 {
00101 template< class TInputImage,
00102           class TFeatureImage,
00103           class TOutputPixelType = float >
00104 class ITK_EXPORT LaplacianSegmentationLevelSetImageFilter:
00105   public SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >
00106 {
00107 public:
00109   typedef LaplacianSegmentationLevelSetImageFilter Self;
00110   typedef  SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >
00111   Superclass;
00112   typedef SmartPointer< Self >       Pointer;
00113   typedef SmartPointer< const Self > ConstPointer;
00114 
00116   typedef typename Superclass::ValueType        ValueType;
00117   typedef typename Superclass::OutputImageType  OutputImageType;
00118   typedef typename Superclass::FeatureImageType FeatureImageType;
00119 
00121   typedef LaplacianSegmentationLevelSetFunction< OutputImageType,
00122                                                  FeatureImageType > LaplacianFunctionType;
00123 
00125   itkTypeMacro(LaplacianSegmentationLevelSetImageFilter, SegmentationLevelSetImageFilter);
00126 
00128   itkNewMacro(Self);
00129 protected:
00130   ~LaplacianSegmentationLevelSetImageFilter() {}
00131   LaplacianSegmentationLevelSetImageFilter();
00133 
00134   virtual void PrintSelf(std::ostream & os, Indent indent) const;
00135 
00136 private:
00137   LaplacianSegmentationLevelSetImageFilter(const Self &); //purposely not
00138                                                           // implemented
00139   void operator=(const Self &);                           //purposely not
00140                                                           // implemented
00141 
00142   typename LaplacianFunctionType::Pointer m_LaplacianFunction;
00143 };
00144 } // end namespace itk
00145 
00146 #ifndef ITK_MANUAL_INSTANTIATION
00147 #include "itkLaplacianSegmentationLevelSetImageFilter.hxx"
00148 #endif
00149 
00150 #endif
00151