isce3 0.25.0
Loading...
Searching...
No Matches
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::RadarGridProduct
14 inline ResampSlc(const isce3::product::RadarGridProduct &product, char frequency = 'A',
15 std::complex<float> invalid_value = std::complex<float>(0.0, 0.0)) :
16 isce3::image::ResampSlc(product, frequency, invalid_value) {}
17
18 // Constructor from an isce3::product::RadarGridProduct and reference product (flattening)
19 inline ResampSlc(const isce3::product::RadarGridProduct & product,
20 const isce3::product::RadarGridProduct & refProduct,
21 char frequency = 'A',
22 std::complex<float> invalid_value = std::complex<float>(0.0, 0.0)) :
23 isce3::image::ResampSlc(product, refProduct, frequency, invalid_value) {}
24
28 std::complex<float> invalid_value = std::complex<float>(0.0, 0.0)) :
29 isce3::image::ResampSlc(rdr_grid, doppler, invalid_value) {}
30
33 const isce3::product::RadarGridParameters & ref_rdr_grid,
35 std::complex<float> invalid_value = std::complex<float>(0.0, 0.0)) :
36 isce3::image::ResampSlc(rdr_grid, ref_rdr_grid, doppler, invalid_value) {}
37
38 // Constructor from individual components (no flattening)
40 double startingRange, double rangePixelSpacing,
41 double sensingStart, double prf, double wvl,
42 std::complex<float> invalid_value = std::complex<float>(0.0, 0.0)) :
43 isce3::image::ResampSlc(doppler, startingRange, rangePixelSpacing, sensingStart,
44 prf, wvl, invalid_value) {}
45
46 // Constructor from individual components (flattening)
47 inline ResampSlc(const isce3::core::LUT2d<double> & doppler,
48 double startingRange, double rangePixelSpacing,
49 double sensingStart, double prf, double wvl,
50 double refStartingRange, double refRangePixelSpacing,
51 double refWvl,
52 std::complex<float> invalid_value = std::complex<float>(0.0, 0.0)) :
53 isce3::image::ResampSlc(doppler, startingRange, rangePixelSpacing, sensingStart,
54 prf, wvl, refStartingRange, refRangePixelSpacing, refWvl,
55 invalid_value) {}
56
57 /* Generic resamp entry point from externally created rasters
58 *
59 * \param[in] inputSlc raster of SLC to be resampled
60 * \param[in] outputSlc raster of resampled SLC
61 * \param[in] rgOffsetRaster raster of range shift to be applied
62 * \param[in] azOffsetRaster raster of azimuth shift to be applied
63 * \param[in] inputBand band of input raster to resample
64 * \param[in] flatten flag to flatten resampled SLC
65 * \param[in] rowBuffer number of rows excluded from top/bottom of azimuth
66 * raster while searching for min/max indices of
67 * resampled SLC
68 * \param[in] chipSize size of chip used in sinc interpolation
69 */
70 void resamp(isce3::io::Raster & inputSlc, isce3::io::Raster & outputSlc,
71 isce3::io::Raster & rgOffsetRaster, isce3::io::Raster & azOffsetRaster,
72 int inputBand=1, bool flatten=false, int rowBuffer=40,
73 int chipSize=isce3::core::SINC_ONE);
74
75 /* Generic resamp entry point: use filenames to create rasters
76 * internally in function.
77 *
78 * \param[in] inputFilename path of file containing SLC to be resampled
79 * \param[in] outputFilename path of file containing resampled SLC
80 * \param[in] rgOffsetFilename path of file containing range shift to be applied
81 * \param[in] azOffsetFilename path of file containing azimuth shift to be applied
82 * \param[in] inputBand band of input raster to resample
83 * \param[in] flatten flag to flatten resampled SLC
84 * \param[in] rowBuffer number of rows excluded from top/bottom of azimuth
85 * raster while searching for min/max indices of
86 * resampled SLC
87 * \param[in] chipSize size of chip used in sinc interpolation
88 */
89 void resamp(const std::string & inputFilename, const std::string & outputFilename,
90 const std::string & rgOffsetFilename, const std::string & azOffsetFilename,
91 int inputBand=1, bool flatten=false, int rowBuffer=40,
92 int chipSize=isce3::core::SINC_ONE);
93
94};
Data structure to store 2D Lookup table.
Definition LUT2d.h:20
Definition ResampSlc.h:9
ResampSlc(const isce3::product::RadarGridParameters &rdr_grid, const isce3::product::RadarGridParameters &ref_rdr_grid, const isce3::core::LUT2d< double > &doppler, std::complex< float > invalid_value=std::complex< float >(0.0, 0.0))
Constructor from an isce3::product::RadarGridParameters and reference radar grid (flattening)
Definition ResampSlc.h:32
ResampSlc(const isce3::product::RadarGridParameters &rdr_grid, const isce3::core::LUT2d< double > &doppler, std::complex< float > invalid_value=std::complex< float >(0.0, 0.0))
Constructor from an isce3::product::RadarGridParameters (no flattening)
Definition ResampSlc.h:26
Definition ResampSlc.h:20
const isce3::core::LUT2d< double > & doppler() const
Get read-only reference to Doppler LUT2d.
Definition ResampSlc.icc:142
Data structure meant to handle Raster I/O operations.
Definition Raster.h:32
Definition RadarGridParameters.h:16
RadarGridProduct class declaration.
Definition RadarGridProduct.h:71
base interpolator is an abstract base class
Definition BinarySearchFunc.cpp:5

Generated for ISCE3.0 by doxygen 1.13.2.