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

itkSobelEdgeDetectionImageFilter.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkSobelEdgeDetectionImageFilter.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/09/10 14:28:56 $ 00007 Version: $Revision: 1.9 $ 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 __itkSobelEdgeDetectionImageFilter_h 00018 #define __itkSobelEdgeDetectionImageFilter_h 00019 00020 #include "itkImageToImageFilter.h" 00021 #include "itkImage.h" 00022 00023 namespace itk 00024 { 00043 template <class TInputImage, class TOutputImage> 00044 class ITK_EXPORT SobelEdgeDetectionImageFilter : 00045 public ImageToImageFilter< TInputImage, TOutputImage > 00046 { 00047 public: 00051 typedef SobelEdgeDetectionImageFilter Self; 00052 typedef ImageToImageFilter< TInputImage, TOutputImage > Superclass; 00053 00058 typedef typename TOutputImage::PixelType OutputPixelType; 00059 typedef typename TOutputImage::InternalPixelType OutputInternalPixelType; 00060 typedef typename TInputImage::PixelType InputPixelType; 00061 typedef typename TInputImage::InternalPixelType InputInternalPixelType; 00062 itkStaticConstMacro(ImageDimension, unsigned int, 00063 TOutputImage::ImageDimension ); 00064 00068 typedef TInputImage InputImageType; 00069 typedef TOutputImage OutputImageType; 00070 typedef typename InputImageType::Pointer InputImagePointer; 00071 00075 typedef SmartPointer<Self> Pointer; 00076 typedef SmartPointer<const Self> ConstPointer; 00077 00081 itkTypeMacro(SobelEdgeDetectionImageFilter, ImageToImageFilter); 00082 00086 itkNewMacro(Self); 00087 00097 virtual void GenerateInputRequestedRegion() throw(InvalidRequestedRegionError); 00098 00099 protected: 00100 SobelEdgeDetectionImageFilter() {} 00101 virtual ~SobelEdgeDetectionImageFilter() {} 00102 SobelEdgeDetectionImageFilter(const Self&) {} 00103 //void operator=(const Self&) {} 00104 00112 void GenerateData(); 00113 void PrintSelf(std::ostream& os, Indent indent) const 00114 { Superclass::PrintSelf(os,indent); } 00115 00116 00117 private: 00118 00119 }; 00120 00121 } // end namespace itk 00122 00123 #ifndef ITK_MANUAL_INSTANTIATION 00124 #include "itkSobelEdgeDetectionImageFilter.txx" 00125 #endif 00126 00127 #endif

Generated at Sat Mar 31 02:29:30 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000