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

itkLazyEdgeDetectionImageFilter3D.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkLazyEdgeDetectionImageFilter3D.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/09/10 14:28:51 $ 00007 Version: $Revision: 1.4 $ 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 __itkLazyEdgeDetectionImageFilter3D_h 00018 #define __itkLazyEdgeDetectionImageFilter3D_h 00019 00020 #include "itkImageToImageFilter.h" 00021 00022 namespace itk 00023 { 00024 00033 template <class TInputImage, class TOutputImage> 00034 class ITK_EXPORT LazyEdgeDetectionImageFilter3D : public ImageToImageFilter<TInputImage,TOutputImage> 00035 { 00036 public: 00038 typedef LazyEdgeDetectionImageFilter3D Self; 00039 typedef ImageToImageFilter<TInputImage,TOutputImage> Superclass; 00040 typedef SmartPointer<Self> Pointer; 00041 typedef SmartPointer<const Self> ConstPointer; 00042 00044 itkNewMacro(Self); 00045 00047 itkTypeMacro(LazyEdgeDetectionImageFilter3D, ImageToImageFilter); 00048 00050 typedef TInputImage InputImageType; 00051 typedef typename InputImageType::Pointer InputImagePointer; 00052 typedef typename InputImageType::RegionType InputImageRegionType; 00053 typedef typename InputImageType::PixelType InputImagePixelType; 00054 typedef TOutputImage OutputImageType; 00055 typedef typename OutputImageType::Pointer OutputImagePointer; 00056 typedef typename OutputImageType::RegionType OutputImageRegionType; 00057 typedef typename OutputImageType::PixelType OutputImagePixelType; 00058 00060 itkGetMacro( Direction, unsigned int ); 00061 itkSetMacro( Direction, unsigned int ); 00062 void SetEdgeDetectorThreshold(double d){edgeDetectorThreshold=d;}; 00063 void SetEdgeDetectorOutsideValue(double d){edgeDetectorOutsideValue=d;}; 00064 void SetEdgeDetectorVariance(double d){edgeDetectorVariance=d;}; 00065 void SetEdgeDetectorMaximumError(double d){edgeDetectorMaximumError=d;}; 00066 protected: 00067 LazyEdgeDetectionImageFilter3D(); 00068 virtual ~LazyEdgeDetectionImageFilter3D() {}; 00069 void PrintSelf(std::ostream& os, Indent indent) const; 00074 void GenerateData(void); 00075 00076 private: 00077 LazyEdgeDetectionImageFilter3D(const Self&); //purposely not implemented 00078 void operator=(const Self&); //purposely not implemented 00079 00080 double edgeDetectorThreshold; 00081 double edgeDetectorOutsideValue; 00082 double edgeDetectorVariance; 00083 double edgeDetectorMaximumError; 00084 unsigned int m_Direction; 00085 00086 }; 00087 00088 } // end namespace itk 00089 00090 #ifndef ITK_MANUAL_INSTANTIATION 00091 #include "itkLazyEdgeDetectionImageFilter3D.txx" 00092 #endif 00093 00094 #endif

Generated at Sun Apr 1 02:36:53 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000