8 #ifndef ISCE_IMAGE_RESAMPSLC_H
9 #define ISCE_IMAGE_RESAMPSLC_H
20 #include <isce3/core/Interpolator.h>
21 #include <isce3/core/Poly2d.h>
24 #include <isce3/io/forward.h>
27 #include <isce3/product/Product.h>
28 #include <isce3/product/RadarGridParameters.h>
41 char frequency =
'A');
46 char frequency =
'A');
64 double wvl,
double ref_wvl);
69 double sensingStart,
double prf,
double wvl);
73 double startingRange,
double rangePixelSpacing,
74 double sensingStart,
double prf,
double wvl,
75 double refStartingRange,
double refRangePixelSpacing,
83 inline double rangePixelSpacing()
const {
return _rangePixelSpacing; }
84 inline double sensingStart()
const {
return _sensingStart; }
85 inline double prf()
const {
return _prf; }
86 inline double wavelength()
const {
return _wavelength; }
87 inline double refStartingRange()
const {
return _refStartingRange; }
88 inline double refRangePixelSpacing()
const {
return _refRangePixelSpacing; }
89 inline double refWavelength()
const {
return _refWavelength; }
110 char frequency =
'A');
113 inline size_t linesPerTile()
const;
114 inline void linesPerTile(
size_t);
120 inline void declare(
int,
int,
int,
int)
const;
125 int inputBand=1,
bool flatten=
false,
bool isComplex=
true,
int rowBuffer=40,
126 int chipSize=isce3::core::SINC_ONE);
129 void resamp(
const std::string & inputFilename,
const std::string & outputFilename,
130 const std::string & rgOffsetFilename,
const std::string & azOffsetFilename,
131 int inputBand=1,
bool flatten=
false,
bool isComplex=
true,
int rowBuffer=40,
132 int chipSize=isce3::core::SINC_ONE);
137 size_t _linesPerTile = 1000;
141 std::string _filename;
153 double _startingRange;
154 double _rangePixelSpacing;
155 double _sensingStart;
158 double _refStartingRange;
159 double _refRangePixelSpacing;
160 double _refWavelength;
176 void _transformTile(Tile_t & tile,
180 int inLength,
bool flatten,
184 inline int _computeNumberOfTiles(
int,
int);
197 #define ISCE_IMAGE_RESAMPSLC_ICC
198 #include "ResampSlc.icc"
199 #undef ISCE_IMAGE_RESAMPSLC_ICC
Data structure for representing 1D polynomials.
Definition: Poly2d.h:25
dataInterpMethod
Enumeration type to indicate interpolation method.
Definition: Constants.h:23
double startingRange() const
Get parameters related to radar grids.
Definition: ResampSlc.h:82
const isce3::core::LUT2d< double > & doppler() const
Get read-only reference to Doppler LUT2d.
Definition: ResampSlc.icc:144
bool haveRefData() const
Get flag for reference data.
Definition: ResampSlc.h:117
Definition: RadarGridParameters.h:15
~ResampSlc()
Destructor.
Definition: ResampSlc.h:79
void _setDataFromSwath(const isce3::product::Swath &swath)
Definition: ResampSlc.icc:97
void _setRefDataFromSwath(const isce3::product::Swath &swath)
Definition: ResampSlc.icc:109
Definition: ResampSlc.h:31
ResampSlc(const isce3::product::Product &product, char frequency= 'A')
Constructor from an isce3::product::Product (no flattening)
Definition: ResampSlc.icc:13
Data structure meant to handle Raster I/O operations.
Definition: Raster.h:34
Definition of parent Interpolator.
Definition: forward.h:33