21 #ifndef otbSarConcatenateBurstsImageFilter_hxx
22 #define otbSarConcatenateBurstsImageFilter_hxx
25 #include "itkImageRegionIterator.h"
30 template <
class TImage>
36 template <
class TImage>
38 unsigned int first_burstInd,
bool inputWithInvalidPixels)
46 bool deburstAndConcatenateOk = sarSensorModel.
DeburstAndConcatenate(linesRecord, samplesRecord, m_Offset_OriginL, first_burstInd, inputWithInvalidPixels);
48 if (!deburstAndConcatenateOk)
49 itkExceptionMacro(<<
"Could not deburst or concatenate from input bursts");
56 template <
class TImage>
60 Superclass::GenerateOutputInformation();
62 auto outputPtr = this->GetOutput();
67 origin[1] = 0.5 + m_Offset_OriginL;
69 outputPtr->SetOrigin(origin);
74 outputPtr->SetImageMetadata(m_SLCImd);
void GenerateOutputInformation() override
void SetSLCImageMetadata(ImageMetadata sarImd)
std::vector< RecordType > LinesRecordVectorType
ImageType::PointType PointType
bool getDeburstLinesAndSamples(LinesRecordVectorType &linesRecord, LinesRecordVectorType &samplesRecord, unsigned int first_burstInd, bool inputWithInvalidPixels)
bool DeburstAndConcatenate(std::vector< std::pair< unsigned long, unsigned long > > &linesBursts, std::vector< std::pair< unsigned long, unsigned long > > &samplesBursts, unsigned int &linesOffset, unsigned int first_burstInd, bool inputWithInvalidPixels=false)
void UpdateImageMetadata(ImageMetadata &imd)
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.