Orfeo Toolbox  4.2
itkSobelEdgeDetectionImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 #ifndef __itkSobelEdgeDetectionImageFilter_h
19 #define __itkSobelEdgeDetectionImageFilter_h
20 
21 #include "itkImageToImageFilter.h"
22 #include "itkImage.h"
23 
24 namespace itk
25 {
49 template< typename TInputImage, typename TOutputImage >
51  public ImageToImageFilter< TInputImage, TOutputImage >
52 {
53 public:
59 
64  typedef typename TOutputImage::PixelType OutputPixelType;
65  typedef typename TOutputImage::InternalPixelType OutputInternalPixelType;
66  typedef typename TInputImage::PixelType InputPixelType;
67  typedef typename TInputImage::InternalPixelType InputInternalPixelType;
68  itkStaticConstMacro(ImageDimension, unsigned int,
69  TOutputImage::ImageDimension);
70  itkStaticConstMacro(InputImageDimension, unsigned int,
71  TInputImage::ImageDimension);
72 
76  typedef TInputImage InputImageType;
77  typedef TOutputImage OutputImageType;
78  typedef typename InputImageType::Pointer InputImagePointer;
79 
85 
90 
94  itkNewMacro(Self);
95 
105  virtual void GenerateInputRequestedRegion();
106 
107 #ifdef ITK_USE_CONCEPT_CHECKING
108  // Begin concept checking
109  itkConceptMacro( SameDimensionCheck,
111  itkConceptMacro( OutputHasNumericTraitsCheck,
113 
114 #ifdef ITK_USE_STRICT_CONCEPT_CHECKING
115  itkConceptMacro( OutputPixelIsFloatingPointCheck,
117 #endif
118 
119  // End concept checking
120 #endif
121 
122 protected:
125 
133  void GenerateData();
134 
135  void PrintSelf(std::ostream & os, Indent indent) const
136  {
137  Superclass::PrintSelf(os, indent);
138  }
139 
140 private:
141  SobelEdgeDetectionImageFilter(const Self &); //purposely not implemented
142  void operator=(const Self&); //purposely not implemented
143 
144 };
145 } // end namespace itk
146 
147 #ifndef ITK_MANUAL_INSTANTIATION
149 #endif
150 
151 #endif

Generated at Sat Aug 30 2014 15:38:19 for Orfeo Toolbox with doxygen 1.8.3.1