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

itkDifferenceOfGaussiansGradientImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkDifferenceOfGaussiansGradientImageFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2002/09/11 19:39:01 $
00007   Version:   $Revision: 1.18 $
00008 
00009   Copyright (c) 2002 Insight 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 __itkDifferenceOfGaussiansGradientImageFilter_h
00018 #define __itkDifferenceOfGaussiansGradientImageFilter_h
00019 
00020 #include "itkImageToImageFilter.h"
00021 #include "itkImage.h"
00022 #include "itkCovariantVector.h"
00023 
00024 namespace itk
00025 {
00026 
00034 template<typename TInputImage, typename TDataType>
00035 class ITK_EXPORT DifferenceOfGaussiansGradientImageFilter :
00036 public ImageToImageFilter<TInputImage,
00037   Image< CovariantVector<TDataType, ::itk::GetImageDimension<TInputImage>::ImageDimension>, 
00038          ::itk::GetImageDimension<TInputImage>::ImageDimension> >
00039 {
00040 public:
00042   itkStaticConstMacro(NDimensions, unsigned int, TInputImage::ImageDimension);
00043 
00045   typedef DifferenceOfGaussiansGradientImageFilter Self;
00046 
00049   typedef Image<CovariantVector<TDataType, itkGetStaticConstMacro(NDimensions)>, itkGetStaticConstMacro(NDimensions)>
00050     TOutputImage;
00051 
00053   typedef ImageToImageFilter<TInputImage, TOutputImage>  Superclass;
00054   typedef SmartPointer<Self>        Pointer;
00055   typedef SmartPointer<const Self>  ConstPointer;
00056 
00058   itkNewMacro(Self);  
00059 
00061   itkTypeMacro( DifferenceOfGaussiansGradientImageFilter, ImageToImageFilter );
00062 
00064   typedef Size<itkGetStaticConstMacro(NDimensions)> SizeType;
00065 
00067   typedef typename TInputImage::IndexType IndexType;
00068 
00070   typedef typename TInputImage::PixelType PixelType;
00071 
00073   typedef typename TInputImage::RegionType OutputImageRegionType;
00074 
00076   itkGetMacro(Width, unsigned int);
00077   itkSetMacro(Width, unsigned int);
00078 
00079 protected:
00080   DifferenceOfGaussiansGradientImageFilter();
00081   virtual ~DifferenceOfGaussiansGradientImageFilter() {};
00082   void PrintSelf(std::ostream& os, Indent indent) const;
00083 
00085   void GenerateData();
00086 
00087 private:
00088   DifferenceOfGaussiansGradientImageFilter(const Self&); //purposely not implemented
00089   void operator=(const Self&); //purposely not implemented
00090 
00091   unsigned int m_Width;
00092 
00093 };
00094 
00095 } // end namespace itk
00096 
00097 #ifndef ITK_MANUAL_INSTANTIATION
00098 #include "itkDifferenceOfGaussiansGradientImageFilter.txx"
00099 #endif
00100 
00101 #endif

Generated at Fri May 21 01:14:39 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000