OTB  6.7.0
Orfeo Toolbox
otbSarConcatenateBurstsImageFilter.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 
22 #ifndef otbSarConcatenateBurstsImageFilter_h
23 #define otbSarConcatenateBurstsImageFilter_h
24 
25 #include "itkImageToImageFilter.h"
26 #include "otbTileImageFilter.h"
27 #include "otbImageKeywordlist.h"
28 
29 namespace otb
30 {
56 template <class TImage>
58  public TileImageFilter<TImage>
59 {
60 public:
66 
68  typedef TImage ImageType;
69  typedef typename ImageType::Pointer ImagePointerType;
70  typedef typename ImageType::SizeType SizeType;
71  typedef typename ImageType::RegionType RegionType;
72  typedef typename ImageType::PointType PointType;
73 
74  typedef std::pair<unsigned long, unsigned long> RecordType;
75  typedef std::vector<RecordType> LinesRecordVectorType;
76 
78  itkNewMacro(Self);
79 
82 
83  // Setter
84  void SetSLCImageKeyWorList(ImageKeywordlist sarImageKWL);
85 
86  bool getDeburstLinesAndSamples(LinesRecordVectorType & linesRecord, LinesRecordVectorType & samplesRecord,
87  unsigned int first_burstInd, bool inputWithInvalidPixels);
88 
89 protected:
92 
95 
97  void GenerateOutputInformation() override;
98 
99 
100 private:
101  SarConcatenateBurstsImageFilter(const Self &) = delete;
102  void operator =(const Self&) = delete;
103 
104  // SLC KeywordList
106 
107  // Deburst SLC KeywordList
109 
110  unsigned int m_Offset_OriginL;
111 };
112 
113 } // end namespace itk
114 
115 #ifndef OTB_MANUAL_INSTANTIATION
117 #endif
118 
119 #endif
itk::Size< Monteverdi_DIMENSION > SizeType
Definition: mvdTypes.h:137
Storage and conversion for OSSIM metadata.
std::pair< unsigned long, unsigned long > RecordType
This filter allows making a spatial mosaic from a set of images.
VectorImageType::PointType PointType
Definition: mvdTypes.h:189
This filter allows making a spatial mosaic from a set of bursts.