#include <vpgl_backproject_dem.h>
Public Member Functions | |
| vpgl_backproject_dem (vil_image_resource_sptr const &dem, double zmin=0.0, double zmax=-1.0) | |
| default constructor not allowed. More... | |
| ~vpgl_backproject_dem () | |
| void | set_verbose (bool verbose) |
| turn on/off messages (default not verbose). More... | |
| vgl_point_3d< double > | geo_center () const |
| double | zmax () const |
| elevation bounds of the DEM (with tail removal). More... | |
| double | zmin () const |
| std::vector< vgl_point_3d< double > > | dem_corners () const |
| geographic corners of the DEM - useful for bounding valid image regions. More... | |
| bool | bproj_dem (const vpgl_camera< double > *cam, vnl_double_2 const &image_point, double max_z, double min_z, vnl_double_3 const &initial_guess, vnl_double_3 &world_point, double error_tol=1.0) |
| General camera - typically a RPC camera. More... | |
| bool | bproj_dem (const vpgl_camera< double > *cam, vgl_point_2d< double > const &image_point, double max_z, double min_z, vgl_point_3d< double > const &initial_guess, vgl_point_3d< double > &world_point, double error_tol=1.0) |
| Backproject an image point onto a geotiff dem, start with initial_guess. More... | |
| bool | bproj_dem (vpgl_rational_camera< double > const &rcam, vnl_double_2 const &image_point, double max_z, double min_z, vnl_double_3 const &initial_guess, vnl_double_3 &world_point, double error_tol=0.05) |
| Backproject an image point onto a plane, start with initial_guess. More... | |
| bool | bproj_dem (vpgl_rational_camera< double > const &rcam, vgl_point_2d< double > const &image_point, double max_z, double min_z, vgl_point_3d< double > const &initial_guess, vgl_point_3d< double > &world_point, double error_tol=0.05) |
| Backproject an image point onto a plane, start with initial_guess. More... | |
Private Attributes | |
| bool | verbose_ |
| double | min_samples_ |
| double | tail_fract_ |
| vil_image_resource_sptr | dem_ |
| vil_image_view< float > | dem_view_ |
| vpgl_geo_camera * | geo_cam_ |
| vgl_point_3d< double > | geo_center_ |
| std::vector< vgl_point_3d< double > > | dem_corners_ |
| double | z_min_ |
| bounds of the DEM. More... | |
| double | z_max_ |
Definition at line 25 of file vpgl_backproject_dem.h.
| vpgl_backproject_dem::vpgl_backproject_dem | ( | vil_image_resource_sptr const & | dem, |
| double | zmin = 0.0, |
||
| double | zmax = -1.0 |
||
| ) |
default constructor not allowed.
Definition at line 47 of file vpgl_backproject_dem.cxx.
| vpgl_backproject_dem::~vpgl_backproject_dem | ( | ) |
Definition at line 123 of file vpgl_backproject_dem.cxx.
| bool vpgl_backproject_dem::bproj_dem | ( | const vpgl_camera< double > * | cam, |
| vnl_double_2 const & | image_point, | ||
| double | max_z, | ||
| double | min_z, | ||
| vnl_double_3 const & | initial_guess, | ||
| vnl_double_3 & | world_point, | ||
| double | error_tol = 1.0 |
||
| ) |
General camera - typically a RPC camera.
Backproject an image point onto a geotiff dem, start with initial_guess. use local ray with origin and dir from backprojection onto max_z and min_z planes
Definition at line 182 of file vpgl_backproject_dem.cxx.
| bool vpgl_backproject_dem::bproj_dem | ( | const vpgl_camera< double > * | cam, |
| vgl_point_2d< double > const & | image_point, | ||
| double | max_z, | ||
| double | min_z, | ||
| vgl_point_3d< double > const & | initial_guess, | ||
| vgl_point_3d< double > & | world_point, | ||
| double | error_tol = 1.0 |
||
| ) |
Backproject an image point onto a geotiff dem, start with initial_guess.
use local ray with origin and dir from backprojection onto max_z and min_z planes
Definition at line 129 of file vpgl_backproject_dem.cxx.
| bool vpgl_backproject_dem::bproj_dem | ( | vpgl_rational_camera< double > const & | rcam, |
| vnl_double_2 const & | image_point, | ||
| double | max_z, | ||
| double | min_z, | ||
| vnl_double_3 const & | initial_guess, | ||
| vnl_double_3 & | world_point, | ||
| double | error_tol = 0.05 |
||
| ) |
Backproject an image point onto a plane, start with initial_guess.
use local ray with origin and dir from backprojection onto rcam's z bounds
Definition at line 199 of file vpgl_backproject_dem.cxx.
| bool vpgl_backproject_dem::bproj_dem | ( | vpgl_rational_camera< double > const & | rcam, |
| vgl_point_2d< double > const & | image_point, | ||
| double | max_z, | ||
| double | min_z, | ||
| vgl_point_3d< double > const & | initial_guess, | ||
| vgl_point_3d< double > & | world_point, | ||
| double | error_tol = 0.05 |
||
| ) |
Backproject an image point onto a plane, start with initial_guess.
use local ray with origin and dir from backprojection onto rcam's z bounds
Definition at line 206 of file vpgl_backproject_dem.cxx.
|
inline |
geographic corners of the DEM - useful for bounding valid image regions.
Definition at line 43 of file vpgl_backproject_dem.h.
|
inline |
Definition at line 36 of file vpgl_backproject_dem.h.
|
inline |
turn on/off messages (default not verbose).
Definition at line 33 of file vpgl_backproject_dem.h.
|
inline |
elevation bounds of the DEM (with tail removal).
Definition at line 39 of file vpgl_backproject_dem.h.
|
inline |
Definition at line 40 of file vpgl_backproject_dem.h.
|
private |
Definition at line 94 of file vpgl_backproject_dem.h.
|
private |
Definition at line 98 of file vpgl_backproject_dem.h.
|
private |
Definition at line 95 of file vpgl_backproject_dem.h.
|
private |
Definition at line 96 of file vpgl_backproject_dem.h.
|
private |
Definition at line 97 of file vpgl_backproject_dem.h.
|
private |
Definition at line 92 of file vpgl_backproject_dem.h.
|
private |
Definition at line 93 of file vpgl_backproject_dem.h.
|
private |
Definition at line 91 of file vpgl_backproject_dem.h.
|
private |
Definition at line 101 of file vpgl_backproject_dem.h.
|
private |
bounds of the DEM.
Definition at line 100 of file vpgl_backproject_dem.h.
1.8.15