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: 2006-03-28 15:38:51 $
00007   Version:   $Revision: 1.22 $
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 __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);
00079 
00080 #ifdef ITK_USE_CONCEPT_CHECKING
00081 
00082   itkConceptMacro(DataTypeHasNumericTraitsCheck,
00083     (Concept::HasNumericTraits<TDataType>));
00084 
00086 #endif
00087 
00088 protected:
00089   DifferenceOfGaussiansGradientImageFilter();
00090   virtual ~DifferenceOfGaussiansGradientImageFilter() {};
00091   void PrintSelf(std::ostream& os, Indent indent) const;
00092 
00094   void GenerateData();
00095 
00096 private:
00097   DifferenceOfGaussiansGradientImageFilter(const Self&); //purposely not implemented
00098   void operator=(const Self&); //purposely not implemented
00099 
00100   unsigned int m_Width;
00101 
00102 };
00103 
00104 } // end namespace itk
00105 
00106 #ifndef ITK_MANUAL_INSTANTIATION
00107 #include "itkDifferenceOfGaussiansGradientImageFilter.txx"
00108 #endif
00109 
00110 #endif
00111 

Generated at Mon Apr 14 12:13:25 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000