OTB  10.0.0
Orfeo Toolbox
otbStreamingSimpleMosaicFilter.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1999-2011 Insight Software Consortium
3  * Copyright (C) 2005-2024 Centre National d'Etudes Spatiales (CNES)
4  * Copyright (C) 2016-2019 IRSTEA
5  *
6  * This file is part of Orfeo Toolbox
7  *
8  * https://www.orfeo-toolbox.org/
9  *
10  * Licensed under the Apache License, Version 2.0 (the "License");
11  * you may not use this file except in compliance with the License.
12  * You may obtain a copy of the License at
13  *
14  * http://www.apache.org/licenses/LICENSE-2.0
15  *
16  * Unless required by applicable law or agreed to in writing, software
17  * distributed under the License is distributed on an "AS IS" BASIS,
18  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  * See the License for the specific language governing permissions and
20  * limitations under the License.
21  */
22 #ifndef __StreamingSimpleMosaicFilter_H
23 #define __StreamingSimpleMosaicFilter_H
24 
26 
27 namespace otb
28 {
43 template <class TInputImage, class TOutputImage = TInputImage, class TInternalValueType = double>
44 class ITK_EXPORT StreamingSimpleMosaicFilter : public otb::StreamingMosaicFilterBase<TInputImage, TOutputImage, TInternalValueType>
45 {
46 public:
50  typedef itk::SmartPointer<Self> Pointer;
51  typedef itk::SmartPointer<const Self> ConstPointer;
52 
54  itkNewMacro(Self);
55 
58 
65 
72 
76 
77 protected:
79  {
80  this->DynamicMultiThreadingOn();
81  }
82 
83  virtual ~StreamingSimpleMosaicFilter() = default;
84 
86  void DynamicThreadedGenerateData(const OutputImageRegionType& outputRegionForThread) override;
87 
88 private:
89  StreamingSimpleMosaicFilter(const Self&); // purposely not implemented
90  void operator=(const Self&); // purposely not implemented
91 
92 }; // end of class
93 
94 } // end namespace otb
95 
96 #ifndef OTB_MANUAL_INSTANTIATION
98 #endif
99 
100 #endif
Base class for mosaic filters. Computes the total extent of multiple inputs, and provide routines to ...
InterpolatorType::Pointer InterpolatorPointerType
InputImageType::RegionType InputImageRegionType
itk::ImageRegionIterator< OutputImageType > IteratorType
OutputImageType::RegionType OutputImageRegionType
OutputImageType::PixelType OutputImagePixelType
OutputImageType::PointType OutputImagePointType
OutputImageType::InternalPixelType OutputImageInternalPixelType
InternalImageType::PixelType InternalPixelType
InputImageType::PixelType InputImagePixelType
Computes the mosaic of an input images set. The output pixel value is equal to the first input pixel ...
otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType > Superclass
Superclass::OutputImagePointType OutputImagePointType
Superclass::InputImagePixelType InputImagePixelType
Superclass::OutputImagePixelType OutputImagePixelType
Superclass::OutputImageRegionType OutputImageRegionType
Superclass::OutputImageInternalPixelType OutputImageInternalPixelType
virtual ~StreamingSimpleMosaicFilter()=default
itk::SmartPointer< const Self > ConstPointer
Superclass::InterpolatorPointerType InterpolatorPointerType
Superclass::InputImageRegionType InputImageRegionType
Superclass::InternalPixelType InternalPixelType
Superclass::InternalValueType InternalValueType
StreamingSimpleMosaicFilter(const Self &)
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.