isce3 0.25.0
Loading...
Searching...
No Matches
loadDem.h
1#pragma once
2#include <isce3/geometry/DEMInterpolator.h>
3#include <isce3/io/Raster.h>
4#include <isce3/product/GeoGridParameters.h>
5#include <isce3/core/forward.h>
6
7namespace isce3 { namespace geometry {
8
9
19 isce3::io::Raster& demRaster,
20 const isce3::product::GeoGridParameters& geoGrid,
21 const int demMarginInPixels = 50,
22 const isce3::core::dataInterpMethod demInterpMethod =
23 isce3::core::BIQUINTIC_METHOD);
24
25
37isce3::geometry::DEMInterpolator DEMRasterToInterpolator(
38 isce3::io::Raster& demRaster,
39 const isce3::product::GeoGridParameters& geoGrid, const int lineStart,
40 const int blockLength, const int blockWidth,
41 const int demMarginInPixels = 50,
42 const isce3::core::dataInterpMethod demInterpMethod =
43 isce3::core::BIQUINTIC_METHOD);
44
45
71isce3::error::ErrorCode loadDemFromProj(
72 isce3::io::Raster& dem_raster,
73 const double minX, const double maxX, const double minY,
74 const double maxY, isce3::geometry::DEMInterpolator* dem_interp,
75 isce3::core::ProjectionBase* proj = nullptr,
76 const int dem_margin_x_in_pixels = 100,
77 const int dem_margin_y_in_pixels = 100,
78 const int dem_raster_band = 1);
79
80/*
81 Interpolate DEM at position (x, y) considering that input_proj and
82 dem_interp have same coordinate systems. The function is written to
83 have the same interface of getDemCoordsDiffEpsg()
84 * @param[in] x X-coordinate in input coordinates
85 * @param[in] y Y-coordinate in input coordinates
86 * @param[in] dem_interp DEM interpolation object
87 * @param[in] input_proj Input projection object
88 * @returns 3-elements vector containing the x and
89 * y coordinates over DEM projection coordinates, and interpolated
90 * DEM value at that position: {x_dem, y_dem, z_dem}
91 */
92isce3::core::Vec3 getDemCoordsSameEpsg(double x, double y,
93 const DEMInterpolator& dem_interp,
94 isce3::core::ProjectionBase* input_proj);
95
96/*
97 Convert x and y coordinates to from input_proj coordinates to
98 DEM (dem_interp) coordinates and interpolate DEM at that position.
99 3-elements vector containing the
100 * @param[in] x X-coordinate in input coordinates
101 * @param[in] y Y-coordinate in input coordinates
102 * @param[in] dem_interp DEM interpolation object
103 * @param[in] input_proj Input projection object
104 * @returns 3-elements vector containing the x and
105 * y coordinates over DEM projection coordinates, and interpolated
106 * DEM value at that position: {x_dem, y_dem, z_dem}
107 */
108isce3::core::Vec3 getDemCoordsDiffEpsg(double x, double y,
109 const DEMInterpolator& dem_interp,
110 isce3::core::ProjectionBase* input_proj);
111
112
113}} // namespace isce3::geometry
Definition DEMInterpolator.h:25
The isce3::geometry namespace.
Definition boundingbox.h:15
isce3::error::ErrorCode loadDemFromProj(isce3::io::Raster &dem_raster, const double x0, const double xf, const double minY, const double maxY, DEMInterpolator *dem_interp, isce3::core::ProjectionBase *proj, const int dem_margin_x_in_pixels, const int dem_margin_y_in_pixels, const int dem_raster_band)
Load DEM raster into a DEMInterpolator object around a given bounding box in the same or different co...
Definition loadDem.cpp:136
DEMInterpolator DEMRasterToInterpolator(isce3::io::Raster &demRaster, const isce3::product::GeoGridParameters &geoGrid, const int demMarginInPixels, const isce3::core::dataInterpMethod demInterpMethod)
returns a DEM interpolator for a geocoded grid.
Definition loadDem.cpp:9
base interpolator is an abstract base class
Definition BinarySearchFunc.cpp:5

Generated for ISCE3.0 by doxygen 1.13.2.