Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkBinomialBlurImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkBinomialBlurImageFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2003/09/10 14:28:44 $
00007   Version:   $Revision: 1.14 $
00008 
00009   Copyright (c) Insight Software Consortium. All rights reserved.
00010   See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
00011 
00012      This software is distributed WITHOUT ANY WARRANTY; without even 
00013      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00014      PURPOSE.  See the above copyright notices for more information.
00015 
00016 =========================================================================*/
00017 #ifndef __itkBinomialBlurImageFilter_h
00018 #define __itkBinomialBlurImageFilter_h
00019 
00020 #include "itkImageFunction.h"
00021 #include "itkImageRegionIterator.h"
00022 #include "itkImageToImageFilter.h"
00023 #include "itkSize.h"
00024 
00025 namespace itk
00026 {
00027 
00037 template<class TInputImage, class TOutputImage>
00038 class ITK_EXPORT BinomialBlurImageFilter :
00039     public ImageToImageFilter<TInputImage, TOutputImage>
00040 {
00041 public:
00043   typedef BinomialBlurImageFilter Self;
00044   typedef ImageToImageFilter<TInputImage,TOutputImage>  Superclass;
00045   typedef SmartPointer<Self>        Pointer;
00046   typedef SmartPointer<const Self>  ConstPointer;
00047 
00049   itkNewMacro(Self);
00050 
00052   itkTypeMacro( BinomialBlurImageFilter, ImageToImageFilter );
00053 
00055   itkStaticConstMacro(NDimensions, unsigned int, TInputImage::ImageDimension);
00056 
00058   typedef TInputImage                             InputImageType;
00059   typedef TOutputImage                            OutputImageType;
00060   typedef typename OutputImageType::Pointer       OutputImagePointer;
00061   typedef typename InputImageType::Pointer        InputImagePointer;
00062   typedef typename InputImageType::ConstPointer   InputImageConstPointer;
00063 
00065   typedef Size<itkGetStaticConstMacro(NDimensions)> SizeType;
00066 
00068   typedef typename TOutputImage::IndexType IndexType;
00069 
00071   typedef typename TOutputImage::PixelType PixelType;
00072 
00074   typedef typename TOutputImage::RegionType OutputImageRegionType;
00075 
00077   itkSetMacro(Repetitions, unsigned int);
00078   itkGetMacro(Repetitions, unsigned int);
00079 
00084   void GenerateInputRequestedRegion();
00085 
00086 protected:
00087   BinomialBlurImageFilter();
00088   virtual ~BinomialBlurImageFilter() {};
00089   void PrintSelf(std::ostream& os, Indent indent) const;
00090 
00092   void GenerateData();
00093 
00094 private:
00095   BinomialBlurImageFilter(const Self&); //purposely not implemented
00096   void operator=(const Self&); //purposely not implemented
00097 
00099   unsigned int m_Repetitions;
00100 };
00101 
00102 } // end namespace itk
00103 
00104 #ifndef ITK_MANUAL_INSTANTIATION
00105 #include "itkBinomialBlurImageFilter.txx"
00106 #endif
00107 
00108 #endif

Generated at Wed May 24 22:51:06 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000