Orfeo Toolbox  3.16
itkSobelEdgeDetectionImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: $RCSfile: itkSobelEdgeDetectionImageFilter.h,v $
5  Language: C++
6  Date: $Date: 2008-10-17 20:49:56 $
7  Version: $Revision: 1.13 $
8 
9  Copyright (c) Insight Software Consortium. All rights reserved.
10  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
11 
12  This software is distributed WITHOUT ANY WARRANTY; without even
13  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14  PURPOSE. See the above copyright notices for more information.
15 
16 =========================================================================*/
17 #ifndef __itkSobelEdgeDetectionImageFilter_h
18 #define __itkSobelEdgeDetectionImageFilter_h
19 
20 #include "itkImageToImageFilter.h"
21 #include "itkImage.h"
22 
23 namespace itk
24 {
43 template <class TInputImage, class TOutputImage>
45  public ImageToImageFilter< TInputImage, TOutputImage >
46 {
47 public:
53 
58  typedef typename TOutputImage::PixelType OutputPixelType;
59  typedef typename TOutputImage::InternalPixelType OutputInternalPixelType;
60  typedef typename TInputImage::PixelType InputPixelType;
61  typedef typename TInputImage::InternalPixelType InputInternalPixelType;
62  itkStaticConstMacro(ImageDimension, unsigned int,
63  TOutputImage::ImageDimension );
64  itkStaticConstMacro(InputImageDimension, unsigned int,
65  TInputImage::ImageDimension );
66 
70  typedef TInputImage InputImageType;
71  typedef TOutputImage OutputImageType;
72  typedef typename InputImageType::Pointer InputImagePointer;
73 
79 
84 
88  itkNewMacro(Self);
89 
99  virtual void GenerateInputRequestedRegion() throw(InvalidRequestedRegionError);
100 
101 #ifdef ITK_USE_CONCEPT_CHECKING
102 
103  itkConceptMacro(SameDimensionCheck,
105  itkConceptMacro(OutputHasNumericTraitsCheck,
107 
108 #ifdef ITK_USE_STRICT_CONCEPT_CHECKING
109  itkConceptMacro(OutputPixelIsFloatingPointCheck,
111 #endif
112 
114 #endif
115 
116 protected:
120  //void operator=(const Self&) {}
121 
129  void GenerateData();
130  void PrintSelf(std::ostream& os, Indent indent) const
131  { Superclass::PrintSelf(os,indent); }
132 
133 
134 private:
135 
136 };
137 
138 } // end namespace itk
139 
140 #ifndef ITK_MANUAL_INSTANTIATION
142 #endif
143 
144 #endif

Generated at Sun Feb 3 2013 00:07:44 for Orfeo Toolbox with doxygen 1.8.1.1