@@ -145,7 +145,7 @@ void Geocode<T>::geocode(
145
145
isce3::io::Raster* out_geo_rtc, isce3::io::Raster* input_rtc,
146
146
isce3::io::Raster* output_rtc, geocodeMemoryMode geocode_memory_mode,
147
147
const int min_block_size, const int max_block_size,
148
- isce3::core::dataInterpMethod interp_method )
148
+ isce3::core::dataInterpMethod dem_interp_method )
149
149
{
150
150
bool flag_complex_to_real = isce3::signal::verifyComplexToRealCasting (
151
151
input_raster, output_raster, exponent);
@@ -171,7 +171,7 @@ void Geocode<T>::geocode(
171
171
radar_grid_nlooks, out_off_diag_terms, out_geo_rdr,
172
172
out_geo_dem, out_geo_nlooks, out_geo_rtc, input_rtc,
173
173
output_rtc, geocode_memory_mode, min_block_size,
174
- max_block_size, interp_method );
174
+ max_block_size, dem_interp_method );
175
175
else if (std::is_same<T, double >::value ||
176
176
std::is_same<T, std::complex <double >>::value)
177
177
geocodeAreaProj<double >(
@@ -184,7 +184,7 @@ void Geocode<T>::geocode(
184
184
radar_grid_nlooks, out_off_diag_terms, out_geo_rdr,
185
185
out_geo_dem, out_geo_nlooks, out_geo_rtc, input_rtc,
186
186
output_rtc, geocode_memory_mode, min_block_size,
187
- max_block_size, interp_method );
187
+ max_block_size, dem_interp_method );
188
188
else
189
189
geocodeAreaProj<float >(
190
190
radar_grid, input_raster, output_raster, dem_raster,
@@ -196,7 +196,7 @@ void Geocode<T>::geocode(
196
196
radar_grid_nlooks, out_off_diag_terms, out_geo_rdr,
197
197
out_geo_dem, out_geo_nlooks, out_geo_rtc, input_rtc,
198
198
output_rtc, geocode_memory_mode, min_block_size,
199
- max_block_size, interp_method );
199
+ max_block_size, dem_interp_method );
200
200
}
201
201
202
202
template <class T >
@@ -211,7 +211,7 @@ void Geocode<T>::geocodeInterp(
211
211
auto start_time = std::chrono::high_resolution_clock::now ();
212
212
213
213
std::unique_ptr<isce3::core::Interpolator<T_out>> interp {
214
- isce3::core::createInterpolator<T_out>(_interp_method )};
214
+ isce3::core::createInterpolator<T_out>(_data_interp_method )};
215
215
216
216
// number of bands in the input raster
217
217
int nbands = inputRaster.numBands ();
@@ -723,7 +723,7 @@ void Geocode<T>::geocodeAreaProj(
723
723
isce3::io::Raster* out_geo_rtc, isce3::io::Raster* input_rtc,
724
724
isce3::io::Raster* output_rtc, geocodeMemoryMode geocode_memory_mode,
725
725
const int min_block_size, const int max_block_size,
726
- isce3::core::dataInterpMethod interp_method )
726
+ isce3::core::dataInterpMethod dem_interp_method )
727
727
{
728
728
729
729
if (std::isnan (geogrid_upsampling))
@@ -752,7 +752,7 @@ void Geocode<T>::geocodeAreaProj(
752
752
upsampled_radar_grid_nlooks, out_off_diag_terms, out_geo_rdr,
753
753
out_geo_dem, out_geo_nlooks, out_geo_rtc, input_rtc, output_rtc,
754
754
geocode_memory_mode, min_block_size, max_block_size,
755
- interp_method );
755
+ dem_interp_method );
756
756
return ;
757
757
}
758
758
pyre::journal::info_t info (" isce.geometry.Geocode.geocodeAreaProj" );
@@ -841,7 +841,7 @@ void Geocode<T>::geocodeAreaProj(
841
841
input_terrain_radiometry, output_terrain_radiometry,
842
842
rtc_area_mode, rtc_algorithm, rtc_geogrid_upsampling,
843
843
rtc_min_value_db, radar_grid_nlooks, nullptr , nullptr ,
844
- nullptr , rtc_memory_mode, interp_method , _threshold,
844
+ nullptr , rtc_memory_mode, dem_interp_method , _threshold,
845
845
_numiter, 1.0e-8 );
846
846
} else {
847
847
info << " reading pre-computed RTC..." << pyre::journal::newline;
@@ -961,7 +961,7 @@ void Geocode<T>::geocodeAreaProj(
961
961
block_size_y, block_size_with_upsampling_y, block_y,
962
962
block_size_x, block_size_with_upsampling_x, block_x,
963
963
numdone, progress_block, geogrid_upsampling, nbands,
964
- nbands_off_diag_terms, interp_method , dem_raster,
964
+ nbands_off_diag_terms, dem_interp_method , dem_raster,
965
965
out_off_diag_terms, out_geo_rdr, out_geo_dem,
966
966
out_geo_nlooks, out_geo_rtc, start, pixazm, dr, r0,
967
967
proj.get (), flag_apply_rtc,
@@ -980,7 +980,7 @@ void Geocode<T>::geocodeAreaProj(
980
980
block_size_y, block_size_with_upsampling_y, block_y,
981
981
block_size_x, block_size_with_upsampling_x, block_x,
982
982
numdone, progress_block, geogrid_upsampling, nbands,
983
- nbands_off_diag_terms, interp_method , dem_raster,
983
+ nbands_off_diag_terms, dem_interp_method , dem_raster,
984
984
out_off_diag_terms, out_geo_rdr, out_geo_dem,
985
985
out_geo_nlooks, out_geo_rtc, start, pixazm, dr, r0,
986
986
proj.get (), flag_apply_rtc,
@@ -1117,7 +1117,7 @@ void Geocode<T>::_runBlock(
1117
1117
int block_size_x, int block_size_with_upsampling_x, int block_x,
1118
1118
long long & numdone, const long long & progress_block,
1119
1119
double geogrid_upsampling, int nbands,
1120
- int nbands_off_diag_terms, isce3::core::dataInterpMethod interp_method ,
1120
+ int nbands_off_diag_terms, isce3::core::dataInterpMethod dem_interp_method ,
1121
1121
isce3::io::Raster& dem_raster, isce3::io::Raster* out_off_diag_terms,
1122
1122
isce3::io::Raster* out_geo_rdr,
1123
1123
isce3::io::Raster* out_geo_dem, isce3::io::Raster* out_geo_nlooks,
@@ -1192,7 +1192,7 @@ void Geocode<T>::_runBlock(
1192
1192
int ii_0 = block_y * block_size_with_upsampling_y;
1193
1193
int jj_0 = block_x * block_size_with_upsampling_x;
1194
1194
1195
- isce3::geometry::DEMInterpolator dem_interp_block (0 , interp_method );
1195
+ isce3::geometry::DEMInterpolator dem_interp_block (0 , dem_interp_method );
1196
1196
1197
1197
double minX = _geoGridStartX +
1198
1198
(((double ) jj_0) / geogrid_upsampling * _geoGridSpacingX);
@@ -1915,7 +1915,7 @@ std::vector<float> getGeoAreaElementMean(
1915
1915
isce3::geometry::rtcOutputTerrainRadiometry output_terrain_radiometry,
1916
1916
int exponent, geocodeOutputMode output_mode, double geogrid_upsampling,
1917
1917
float rtc_min_value_db, double abs_cal_factor, float radar_grid_nlooks,
1918
- float * out_nlooks, isce3::core::dataInterpMethod interp_method ,
1918
+ float * out_nlooks, isce3::core::dataInterpMethod dem_interp_method ,
1919
1919
double threshold, int num_iter, double delta_range)
1920
1920
{
1921
1921
@@ -2065,7 +2065,7 @@ std::vector<float> getGeoAreaElementMean(
2065
2065
*rtc_raster_unique_ptr.get (), input_terrain_radiometry,
2066
2066
output_terrain_radiometry, rtc_area_mode, rtc_algorithm,
2067
2067
geogrid_upsampling * 2 , rtc_min_value_db, radar_grid_nlooks,
2068
- nullptr , rtc_memory_mode, interp_method , threshold, num_iter,
2068
+ nullptr , rtc_memory_mode, dem_interp_method , threshold, num_iter,
2069
2069
delta_range);
2070
2070
2071
2071
rtc_area.resize (radar_grid_cropped.length (),
0 commit comments