OTB  9.0.0
Orfeo Toolbox
otbStreamingLineSegmentDetector.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1999-2011 Insight Software Consortium
3  * Copyright (C) 2005-2022 Centre National d'Etudes Spatiales (CNES)
4  *
5  * This file is part of Orfeo Toolbox
6  *
7  * https://www.orfeo-toolbox.org/
8  *
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  * http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  */
21 
22 #ifndef otbStreamingLineSegmentDetector_h
23 #define otbStreamingLineSegmentDetector_h
24 
25 #include <vector>
26 
27 #include "itkImageRegion.h"
28 #include "itkPreOrderTreeIterator.h"
29 
30 #include "itkDataObjectDecorator.h"
31 #include "itkSimpleDataObjectDecorator.h"
32 
33 #include "otbLineSegmentDetector.h"
34 
37 
38 namespace otb
39 {
51 template <class TImageType>
53  : public otb::PersistentImageToVectorDataFilter<TImageType, typename otb::LineSegmentDetector<TImageType, double>::VectorDataType>
54 {
55 public:
59  typedef itk::SmartPointer<Self> Pointer;
60  typedef itk::SmartPointer<const Self> ConstPointer;
61 
65 
68 
71  itkNewMacro(Self);
72 
75 
76 protected:
78 
80 
81  void GenerateInputRequestedRegion() override;
82 
83 private:
85  void operator=(const Self&) = delete;
86 
88 };
89 
90 template <class TImageType>
92 {
93 public:
94  // define the PersistentStreamingLineSegmentDetector template
96 
99 
100  // typedef for streaming capable filter
102 };
103 }
104 
105 #ifndef OTB_MANUAL_INSTANTIATION
107 #endif
108 
109 #endif
otb::PersistentStreamingLineSegmentDetector::InputImageType
Superclass::InputImageType InputImageType
Definition: otbStreamingLineSegmentDetector.h:63
otb::PersistentImageToVectorDataFilter
Perform vectorization in a persistent way.
Definition: otbPersistentImageToVectorDataFilter.h:52
otb::StreamingLineSegmentDetector::InputImageType
PersistentStreamingLineSegmentDetectorType::InputImageType InputImageType
Definition: otbStreamingLineSegmentDetector.h:97
otb::PersistentStreamingLineSegmentDetector::Self
PersistentStreamingLineSegmentDetector Self
Definition: otbStreamingLineSegmentDetector.h:57
otb::LineSegmentDetector< TImageType, double >
otbStreamingLineSegmentDetector.hxx
otbPersistentFilterStreamingDecorator.h
otb
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Definition: otbJoinContainer.h:32
otb::StreamingLineSegmentDetector::OutputVectorDataType
PersistentStreamingLineSegmentDetectorType::OutputVectorDataType OutputVectorDataType
Definition: otbStreamingLineSegmentDetector.h:98
otbPersistentImageToVectorDataFilter.h
otb::StreamingLineSegmentDetector::FilterType
PersistentFilterStreamingDecorator< PersistentStreamingLineSegmentDetectorType > FilterType
Definition: otbStreamingLineSegmentDetector.h:101
otb::PersistentStreamingLineSegmentDetector::PersistentStreamingLineSegmentDetector
PersistentStreamingLineSegmentDetector()
Definition: otbStreamingLineSegmentDetector.hxx:34
otb::PersistentStreamingLineSegmentDetector
Perform Line segment detector in a persistent way.
Definition: otbStreamingLineSegmentDetector.h:52
otb::PersistentStreamingLineSegmentDetector::OutputVectorDataType
Superclass::OutputVectorDataType OutputVectorDataType
Definition: otbStreamingLineSegmentDetector.h:66
otb::PersistentStreamingLineSegmentDetector::InputImagePointerType
Superclass::InputImagePointer InputImagePointerType
Definition: otbStreamingLineSegmentDetector.h:64
otb::PersistentImageToVectorDataFilter::InputImagePointer
InputImageType::Pointer InputImagePointer
Definition: otbPersistentImageToVectorDataFilter.h:65
otb::PersistentStreamingLineSegmentDetector::operator=
void operator=(const Self &)=delete
otb::PersistentImageToVectorDataFilter::InputImageType
TImage InputImageType
Definition: otbPersistentImageToVectorDataFilter.h:62
otb::PersistentStreamingLineSegmentDetector::ProcessTile
OutputVectorDataPointerType ProcessTile() override
Definition: otbStreamingLineSegmentDetector.hxx:62
otb::PersistentStreamingLineSegmentDetector::~PersistentStreamingLineSegmentDetector
~PersistentStreamingLineSegmentDetector() override
Definition: otbStreamingLineSegmentDetector.hxx:39
otb::PersistentStreamingLineSegmentDetector::LSDType
otb::LineSegmentDetector< TImageType, double > LSDType
Definition: otbStreamingLineSegmentDetector.h:62
otb::PersistentImageToVectorDataFilter::OutputVectorDataPointerType
TOutputVectorData::Pointer OutputVectorDataPointerType
Definition: otbPersistentImageToVectorDataFilter.h:73
otb::PersistentFilterStreamingDecorator
This filter link a persistent filter with a StreamingImageVirtualWriter.
Definition: otbPersistentFilterStreamingDecorator.h:47
otb::PersistentImageToVectorDataFilter::OutputVectorDataType
TOutputVectorData OutputVectorDataType
Definition: otbPersistentImageToVectorDataFilter.h:72
otbLineSegmentDetector.h
otb::PersistentImageToVectorDataFilter::ExtractImageFilterType
itk::ExtractImageFilter< InputImageType, InputImageType > ExtractImageFilterType
Definition: otbPersistentImageToVectorDataFilter.h:75
otb::PersistentStreamingLineSegmentDetector::OutputVectorDataPointerType
Superclass::OutputVectorDataPointerType OutputVectorDataPointerType
Definition: otbStreamingLineSegmentDetector.h:67
otb::StreamingLineSegmentDetector
Definition: otbStreamingLineSegmentDetector.h:91
otb::PersistentStreamingLineSegmentDetector::GenerateInputRequestedRegion
void GenerateInputRequestedRegion() override
Definition: otbStreamingLineSegmentDetector.hxx:44
otb::PersistentStreamingLineSegmentDetector::ExtractImageFilterType
Superclass::ExtractImageFilterType ExtractImageFilterType
Definition: otbStreamingLineSegmentDetector.h:69
otb::PersistentStreamingLineSegmentDetector::Pointer
itk::SmartPointer< Self > Pointer
Definition: otbStreamingLineSegmentDetector.h:59
otb::PersistentStreamingLineSegmentDetector::Superclass
PersistentImageToVectorDataFilter< TImageType, typename otb::LineSegmentDetector< TImageType, double >::VectorDataType > Superclass
Definition: otbStreamingLineSegmentDetector.h:58
otb::StreamingLineSegmentDetector::PersistentStreamingLineSegmentDetectorType
PersistentStreamingLineSegmentDetector< TImageType > PersistentStreamingLineSegmentDetectorType
Definition: otbStreamingLineSegmentDetector.h:95
otb::PersistentStreamingLineSegmentDetector::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: otbStreamingLineSegmentDetector.h:60