OTB  9.0.0
Orfeo Toolbox
otbImageListToVectorImageFilter.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2022 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 otbImageListToVectorImageFilter_h
22 #define otbImageListToVectorImageFilter_h
23 
25 
26 namespace otb
27 {
41 template <class TImageList, class TVectorImage>
42 class ITK_EXPORT ImageListToVectorImageFilter : public ImageListToImageFilter<typename TImageList::ImageType, TVectorImage>
43 {
44 public:
48  typedef itk::SmartPointer<Self> Pointer;
49  typedef itk::SmartPointer<const Self> ConstPointer;
50 
52  itkNewMacro(Self);
53 
56 
58  typedef TVectorImage OutputVectorImageType;
59  typedef typename OutputVectorImageType::Pointer OutputVectorImagePointerType;
60  typedef TImageList InputImageListType;
61  typedef typename InputImageListType::Pointer InputImageListPointerType;
62  typedef typename InputImageListType::ImageType InputImageType;
63  typedef typename InputImageType::Pointer InputImagePointerType;
64 
65 protected:
67  void GenerateData(void) override;
68 
73  void GenerateOutputInformation(void) override;
74 
79  void GenerateInputRequestedRegion(void) override;
80 
83 
86  {
87  }
88 
90  void PrintSelf(std::ostream& os, itk::Indent indent) const override;
91 
92 private:
93  ImageListToVectorImageFilter(const Self&) = delete;
94  void operator=(const Self&) = delete;
95 };
96 } // End namespace otb
97 #ifndef OTB_MANUAL_INSTANTIATION
99 #endif
100 
101 #endif
otb::ImageListToVectorImageFilter::OutputVectorImagePointerType
OutputVectorImageType::Pointer OutputVectorImagePointerType
Definition: otbImageListToVectorImageFilter.h:59
otb::ImageListToVectorImageFilter::InputImageType
InputImageListType::ImageType InputImageType
Definition: otbImageListToVectorImageFilter.h:62
otb::ImageListToImageFilter
Base class for all the filters taking an images list as input to produce an image.
Definition: otbImageListToImageFilter.h:40
otb
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Definition: otbJoinContainer.h:32
otb::ImageListToVectorImageFilter::Pointer
itk::SmartPointer< Self > Pointer
Definition: otbImageListToVectorImageFilter.h:48
otbImageListToVectorImageFilter.hxx
otb::ImageListToVectorImageFilter
Converts an ImageList to a VectorImage.
Definition: otbImageListToVectorImageFilter.h:42
otb::ImageListToVectorImageFilter::InputImageListPointerType
InputImageListType::Pointer InputImageListPointerType
Definition: otbImageListToVectorImageFilter.h:61
otb::ImageListToVectorImageFilter::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: otbImageListToVectorImageFilter.h:49
otb::ImageListToVectorImageFilter::InputImagePointerType
InputImageType::Pointer InputImagePointerType
Definition: otbImageListToVectorImageFilter.h:63
otb::ImageListToVectorImageFilter::~ImageListToVectorImageFilter
~ImageListToVectorImageFilter() override
Definition: otbImageListToVectorImageFilter.h:85
otb::ImageListToVectorImageFilter::Self
ImageListToVectorImageFilter Self
Definition: otbImageListToVectorImageFilter.h:46
otbImageListToImageFilter.h
otb::ImageListToVectorImageFilter::Superclass
ImageListToImageFilter< typename TImageList::ImageType, TVectorImage > Superclass
Definition: otbImageListToVectorImageFilter.h:47
otb::ImageListToVectorImageFilter::InputImageListType
TImageList InputImageListType
Definition: otbImageListToVectorImageFilter.h:60
otb::ImageToImageListFilter
Base class for all the filters taking an image input to produce an image list.
Definition: otbImageToImageListFilter.h:39
otb::ImageListToVectorImageFilter::OutputVectorImageType
TVectorImage OutputVectorImageType
Definition: otbImageListToVectorImageFilter.h:55
otb::ImageListToVectorImageFilter::ImageListToVectorImageFilter
ImageListToVectorImageFilter()
Definition: otbImageListToVectorImageFilter.h:82