OTB  10.0.0
Orfeo Toolbox
otbAsymmetricFusionOfLineDetectorImageFilter.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2024 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
Implements an asymmetric fusion of line detector image filter.
AsymmetricFusionOfLineDetectorImageFilter(const Self &)=delete
void PrintSelf(std::ostream &os, itk::Indent indent) const override
otb::AssociativeSymmetricalSumImageFilter< InputImageType1, InputImageType2, OutputImageType > AssSymSumType
otb::LineRatioDetectorImageFilter< InputImageType, OutputImageType, OutputImageDirectionType, InterpolatorType > LineRatioType
otb::LineCorrelationDetectorImageFilter< InputImageType, OutputImageType, OutputImageDirectionType, InterpolatorType > LineCorrelationType
LineDetectorImageFilterBase< TInputImage, TOutputImage, TOutputImageDirection, TInterpolator > Superclass
Base class for line detector filters.
Superclass::OutputImageDirectionType OutputImageDirectionType
Application of detection of linear features based on the ratio of local means.
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.