OTB  10.0.0
Orfeo Toolbox
otbImageListToSingleImageFilter.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 otbImageListToSingleImageFilter_h
22 #define otbImageListToSingleImageFilter_h
23 
25 
26 namespace otb
27 {
42 template <class TInputImageType>
43 class ITK_EXPORT ImageListToSingleImageFilter : public ImageListToImageFilter<TInputImageType, TInputImageType>
44 {
45 public:
49  typedef itk::SmartPointer<Self> Pointer;
50  typedef itk::SmartPointer<const Self> ConstPointer;
51 
52  typedef TInputImageType InputImageType;
53  typedef typename InputImageType::Pointer InputImagePointerType;
55  typedef TInputImageType OutputImageType;
56  typedef typename OutputImageType::Pointer OutputImagePointerType;
57 
59  itkNewMacro(Self);
60 
63 
65  itkGetMacro(ExtractedImagePosition, unsigned int);
66  itkSetMacro(ExtractedImagePosition, unsigned int);
68 
69  InputImagePointerType GetOutput(void);
70 
71 protected:
74 
77  {
78  }
79 
81  void GenerateData() override;
82 
84  void PrintSelf(std::ostream& os, itk::Indent indent) const override;
85 
86 
87 private:
89  void operator=(const Self&) = delete;
90 
92 
93 }; // end of class
94 
95 } // end of namespace
96 
97 #ifndef OTB_MANUAL_INSTANTIATION
99 #endif
100 
101 #endif
Base class for all the filters taking an images list as input to produce an image.
This class aims at converting a image list to one (scalar or vector) image.
ImageListToImageFilter< TInputImageType, TInputImageType > Superclass
void operator=(const Self &)=delete
itk::SmartPointer< const Self > ConstPointer
ImageListToSingleImageFilter(const Self &)=delete
This class represent a list of images.
Definition: otbImageList.h:40
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.