OTB  9.0.0
Orfeo Toolbox
otbAsymmetricFusionOfLineDetectorImageFilter.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2022 Centre National d'Etudes Spatiales (CNES)
3  *
4  * This file is part of Orfeo Toolbox
5  *
6  * https://www.orfeo-toolbox.org/
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  */
20 
21 #ifndef otbAsymmetricFusionOfLineDetectorImageFilter_h
22 #define otbAsymmetricFusionOfLineDetectorImageFilter_h
23 
24 #include "itkImageToImageFilter.h"
25 
29 
30 namespace otb
31 {
32 
44 template <class TInputImage, class TOutputImage, class TOutputImageDirection = TOutputImage,
45  class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
46 class ITK_EXPORT AsymmetricFusionOfLineDetectorImageFilter : public LineDetectorImageFilterBase<TInputImage, TOutputImage, TOutputImageDirection, TInterpolator>
47 {
48 public:
49  itkStaticConstMacro(InputImageDimension, unsigned int, TInputImage::ImageDimension);
50  itkStaticConstMacro(OutputImageDimension, unsigned int, TOutputImage::ImageDimension);
51 
54  typedef itk::SmartPointer<Self> Pointer;
55  typedef itk::SmartPointer<const Self> ConstPointer;
56 
57  itkNewMacro(Self);
58 
60 
65 
68 
69  typedef typename InputImageType::PixelType InputPixelType;
70  typedef typename InputImageType::SizeType SizeType;
71 
72  typedef typename OutputImageType::PixelType OutputPixelType;
73 
74 protected:
77  {
78  }
79 
83 
84  void GenerateData() override;
85 
86  void PrintSelf(std::ostream& os, itk::Indent indent) const override;
87 
88 private:
90  void operator=(const Self&) = delete;
91 
95 };
96 } // end namespace otb
97 
98 #ifndef OTB_MANUAL_INSTANTIATION
100 #endif
101 
102 #endif
otb::LineDetectorImageFilterBase::InputImageType
Superclass::InputImageType InputImageType
Definition: otbLineDetectorImageFilterBase.h:74
otbAssociativeSymmetricalSumImageFilter.h
otb::AsymmetricFusionOfLineDetectorImageFilter
Definition: otbAsymmetricFusionOfLineDetectorImageFilter.h:46
otb::AsymmetricFusionOfLineDetectorImageFilter::InputPixelType
InputImageType::PixelType InputPixelType
Definition: otbAsymmetricFusionOfLineDetectorImageFilter.h:69
otb::AsymmetricFusionOfLineDetectorImageFilter::LineRatioType
otb::LineRatioDetectorImageFilter< InputImageType, OutputImageType, OutputImageDirectionType, InterpolatorType > LineRatioType
Definition: otbAsymmetricFusionOfLineDetectorImageFilter.h:80
otb::AsymmetricFusionOfLineDetectorImageFilter::LineCorrelationType
otb::LineCorrelationDetectorImageFilter< InputImageType, OutputImageType, OutputImageDirectionType, InterpolatorType > LineCorrelationType
Definition: otbAsymmetricFusionOfLineDetectorImageFilter.h:81
otb::AssociativeSymmetricalSumImageFilter
Implements an asymmetric fusion of line detector image filter.
Definition: otbAssociativeSymmetricalSumImageFilter.h:73
otb::AsymmetricFusionOfLineDetectorImageFilter::~AsymmetricFusionOfLineDetectorImageFilter
~AsymmetricFusionOfLineDetectorImageFilter() override
Definition: otbAsymmetricFusionOfLineDetectorImageFilter.h:76
otb::LineDetectorImageFilterBase::InterpolatorType
TInterpolator InterpolatorType
Definition: otbLineDetectorImageFilterBase.h:79
otb::AsymmetricFusionOfLineDetectorImageFilter::AssSymSumType
otb::AssociativeSymmetricalSumImageFilter< InputImageType1, InputImageType2, OutputImageType > AssSymSumType
Definition: otbAsymmetricFusionOfLineDetectorImageFilter.h:82
otb
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Definition: otbJoinContainer.h:32
otb::AsymmetricFusionOfLineDetectorImageFilter::m_LineCorrelation
LineCorrelationType::Pointer m_LineCorrelation
Definition: otbAsymmetricFusionOfLineDetectorImageFilter.h:93
otbAsymmetricFusionOfLineDetectorImageFilter.hxx
otb::AsymmetricFusionOfLineDetectorImageFilter::OutputImageDirectionType
Superclass::OutputImageDirectionType OutputImageDirectionType
Definition: otbAsymmetricFusionOfLineDetectorImageFilter.h:63
otbLineRatioDetectorImageFilter.h
otb::AsymmetricFusionOfLineDetectorImageFilter::InputImageType1
OutputImageType InputImageType1
Definition: otbAsymmetricFusionOfLineDetectorImageFilter.h:66
otb::AsymmetricFusionOfLineDetectorImageFilter::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: otbAsymmetricFusionOfLineDetectorImageFilter.h:55
otb::AsymmetricFusionOfLineDetectorImageFilter::InputImageType2
OutputImageType InputImageType2
Definition: otbAsymmetricFusionOfLineDetectorImageFilter.h:67
otb::LineCorrelationDetectorImageFilter::Pointer
itk::SmartPointer< Self > Pointer
Definition: otbLineCorrelationDetectorImageFilter.h:49
otb::LineDetectorImageFilterBase::OutputImageDirectionType
Superclass::OutputImageDirectionType OutputImageDirectionType
Definition: otbLineDetectorImageFilterBase.h:78
otb::AsymmetricFusionOfLineDetectorImageFilter::Self
AsymmetricFusionOfLineDetectorImageFilter Self
Definition: otbAsymmetricFusionOfLineDetectorImageFilter.h:52
otb::LineDetectorImageFilterBase::OutputImageType
Superclass::OutputImageType OutputImageType
Definition: otbLineDetectorImageFilterBase.h:77
otb::AssociativeSymmetricalSumImageFilter::Pointer
itk::SmartPointer< Self > Pointer
Definition: otbAssociativeSymmetricalSumImageFilter.h:85
otb::LineRatioDetectorImageFilter::Pointer
itk::SmartPointer< Self > Pointer
Definition: otbLineRatioDetectorImageFilter.h:78
otb::LineDetectorImageFilterBase
Base class for line detector filters.
Definition: otbLineDetectorImageFilterBase.h:56
otb::AsymmetricFusionOfLineDetectorImageFilter::OutputImageType
Superclass::OutputImageType OutputImageType
Definition: otbAsymmetricFusionOfLineDetectorImageFilter.h:62
otb::AsymmetricFusionOfLineDetectorImageFilter::InputImageType
Superclass::InputImageType InputImageType
Definition: otbAsymmetricFusionOfLineDetectorImageFilter.h:59
otb::AsymmetricFusionOfLineDetectorImageFilter::InterpolatorType
Superclass::InterpolatorType InterpolatorType
Definition: otbAsymmetricFusionOfLineDetectorImageFilter.h:64
otb::AsymmetricFusionOfLineDetectorImageFilter::SizeType
InputImageType::SizeType SizeType
Definition: otbAsymmetricFusionOfLineDetectorImageFilter.h:70
otb::AsymmetricFusionOfLineDetectorImageFilter::m_LineRatio
LineRatioType::Pointer m_LineRatio
Definition: otbAsymmetricFusionOfLineDetectorImageFilter.h:92
otb::LineCorrelationDetectorImageFilter
To be documented.
Definition: otbLineCorrelationDetectorImageFilter.h:38
otbLineCorrelationDetectorImageFilter.h
otb::LineRatioDetectorImageFilter
Application of detection of linear features based on the ratio of local means.
Definition: otbLineRatioDetectorImageFilter.h:67
otb::AsymmetricFusionOfLineDetectorImageFilter::Pointer
itk::SmartPointer< Self > Pointer
Definition: otbAsymmetricFusionOfLineDetectorImageFilter.h:54
otb::AsymmetricFusionOfLineDetectorImageFilter::OutputPixelType
OutputImageType::PixelType OutputPixelType
Definition: otbAsymmetricFusionOfLineDetectorImageFilter.h:72
otb::AsymmetricFusionOfLineDetectorImageFilter::m_AssSymSum
AssSymSumType::Pointer m_AssSymSum
Definition: otbAsymmetricFusionOfLineDetectorImageFilter.h:94
otb::AsymmetricFusionOfLineDetectorImageFilter::Superclass
LineDetectorImageFilterBase< TInputImage, TOutputImage, TOutputImageDirection, TInterpolator > Superclass
Definition: otbAsymmetricFusionOfLineDetectorImageFilter.h:53