ITK  4.1.0
Insight Segmentation and Registration Toolkit
itkFastIncrementalBinaryDilateImageFilter.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 __itkFastIncrementalBinaryDilateImageFilter_h
00019 #define __itkFastIncrementalBinaryDilateImageFilter_h
00020 
00021 #include <vector>
00022 #include <queue>
00023 #include "itkBinaryDilateImageFilter.h"
00024 #include "itkConceptChecking.h"
00025 
00026 namespace itk
00027 {
00051 template< class TInputImage, class TOutputImage, class TKernel >
00052 class ITK_EXPORT FastIncrementalBinaryDilateImageFilter:
00053   public BinaryDilateImageFilter< TInputImage, TOutputImage, TKernel >
00054 {
00055 public:
00056 
00058   itkStaticConstMacro(InputImageDimension, unsigned int,
00059                       TInputImage::ImageDimension);
00060   itkStaticConstMacro(OutputImageDimension, unsigned int,
00061                       TOutputImage::ImageDimension);
00063 
00065   itkStaticConstMacro(KernelDimension, unsigned int,
00066                       TKernel::NeighborhoodDimension);
00067 
00069   typedef TInputImage  InputImageType;
00070   typedef TOutputImage OutputImageType;
00071   typedef TKernel      KernelType;
00072 
00074   typedef FastIncrementalBinaryDilateImageFilter Self;
00075   typedef BinaryDilateImageFilter< InputImageType, OutputImageType, KernelType >
00076   Superclass;
00077   typedef SmartPointer< Self >       Pointer;
00078   typedef SmartPointer< const Self > ConstPointer;
00079 
00081   itkNewMacro(Self);
00082 
00084   itkTypeMacro(FastIncrementalBinaryDilateImageFilter, ImageToImageFilter);
00085 protected:
00086   FastIncrementalBinaryDilateImageFilter() {}
00087   virtual ~FastIncrementalBinaryDilateImageFilter(){}
00088 private:
00089   FastIncrementalBinaryDilateImageFilter(const Self &); //purposely not
00090                                                         // implemented
00091   void operator=(const Self &);                         //purposely not
00093 
00094   // implemented
00095 };
00096 } // end namespace itk
00097 
00098 #endif
00099