OTB  6.7.0
Orfeo Toolbox
otbImageListToSingleImageFilter.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2019 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>
44  : public ImageListToImageFilter<TInputImageType, TInputImageType>
45 {
46 public:
50  <TInputImageType, TInputImageType> Superclass;
53 
54  typedef TInputImageType InputImageType;
55  typedef typename InputImageType::Pointer InputImagePointerType;
57  typedef TInputImageType OutputImageType;
58  typedef typename OutputImageType::Pointer OutputImagePointerType;
59 
61  itkNewMacro(Self);
62 
65 
67  itkGetMacro(ExtractedImagePosition, unsigned int);
68  itkSetMacro(ExtractedImagePosition, unsigned int);
70 
71  InputImagePointerType GetOutput(void);
72 
73 protected:
76 
79 
81  void GenerateData() override;
82 
84  void PrintSelf(std::ostream& os, itk::Indent indent) const override;
85 
86 
87 private:
88  ImageListToSingleImageFilter(const Self &) = delete;
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
ImageListToImageFilter< TInputImageType, TInputImageType > Superclass
Base class for all the filters taking an images list as input to produce an image.
itk::SmartPointer< const Self > ConstPointer
This class represent a list of images.
Definition: otbImageList.h:39
This class aims at converting a image list to one (scalar or vector) image.