isce3  0.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
ResampSlc.h
1 #pragma once
2 
3 #include "forward.h"
4 
5 // isce3::image
6 #include <isce3/image/ResampSlc.h>
7 
8 // Definition
10 
11  public:
12  // Meta-methods
13  // Constructor from an isce3::product::Product
14  inline ResampSlc(const isce3::product::Product &product, char frequency = 'A') :
15  isce3::image::ResampSlc(product, frequency) {}
16 
17  // Constructor from an isce3::product::Product and reference product (flattening)
18  inline ResampSlc(const isce3::product::Product & product,
19  const isce3::product::Product & refProduct,
20  char frequency = 'A') :
21  isce3::image::ResampSlc(product, refProduct, frequency) {}
22 
26  double wvl) :
27  isce3::image::ResampSlc(rdr_grid, doppler, wvl) {}
28 
31  const isce3::product::RadarGridParameters & ref_rdr_grid,
33  double wvl, double ref_wvl) :
34  isce3::image::ResampSlc(rdr_grid, ref_rdr_grid, doppler, wvl, ref_wvl) {}
35 
36  // Constructor from individual components (no flattening)
38  double startingRange, double rangePixelSpacing,
39  double sensingStart, double prf, double wvl) :
40  isce3::image::ResampSlc(doppler, startingRange, rangePixelSpacing, sensingStart,
41  prf, wvl) {}
42 
43  // Constructor from individual components (flattening)
44  inline ResampSlc(const isce3::core::LUT2d<double> & doppler,
45  double startingRange, double rangePixelSpacing,
46  double sensingStart, double prf, double wvl,
47  double refStartingRange, double refRangePixelSpacing,
48  double refWvl) :
49  isce3::image::ResampSlc(doppler, startingRange, rangePixelSpacing, sensingStart,
50  prf, wvl, refStartingRange, refRangePixelSpacing, refWvl) {}
51 
52  // All resamp need? to be redefined to ensure derived functions used
53  // Generic resamp entry point from externally created rasters
54  void resamp(isce3::io::Raster & inputSlc, isce3::io::Raster & outputSlc,
55  isce3::io::Raster & rgOffsetRaster, isce3::io::Raster & azOffsetRaster,
56  int inputBand=1, bool flatten=false, bool isComplex=true, int rowBuffer=40,
57  int chipSize=isce3::core::SINC_ONE);
58 
59  // Generic resamp entry point: use filenames to create rasters
60  void resamp(const std::string & inputFilename, const std::string & outputFilename,
61  const std::string & rgOffsetFilename, const std::string & azOffsetFilename,
62  int inputBand=1, bool flatten=false, bool isComplex=true, int rowBuffer=40,
63  int chipSize=isce3::core::SINC_ONE);
64 
65 };
Definition: ResampSlc.h:9
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
ResampSlc(const isce3::product::RadarGridParameters &rdr_grid, const isce3::core::LUT2d< double > &doppler, double wvl)
Constructor from an isce3::product::RadarGridParameters (no flattening)
Definition: ResampSlc.h:24
Definition: RadarGridParameters.h:15
Definition: Product.h:29
ResampSlc(const isce3::product::RadarGridParameters &rdr_grid, const isce3::product::RadarGridParameters &ref_rdr_grid, const isce3::core::LUT2d< double > &doppler, double wvl, double ref_wvl)
Constructor from an isce3::product::RadarGridParameters and reference radar grid (flattening) ...
Definition: ResampSlc.h:30
Definition: ResampSlc.h:31
Data structure meant to handle Raster I/O operations.
Definition: Raster.h:34

Generated for ISCE3.0 by doxygen 1.8.5.