2 #ifndef vpgl_backproject_dem_h_ 3 #define vpgl_backproject_dem_h_ 22 #include <vil/vil_image_resource_sptr.h> 23 #include <vil/vil_image_view.h> 49 vnl_double_2
const& image_point,
50 double max_z,
double min_z,
51 vnl_double_3
const& initial_guess,
52 vnl_double_3& world_point,
53 double error_tol = 1.0);
61 double max_z,
double min_z,
64 double error_tol = 1.0);
74 vnl_double_2
const& image_point,
75 double max_z,
double min_z,
76 vnl_double_3
const& initial_guess,
77 vnl_double_3& world_point,
78 double error_tol = 0.05);
86 double max_z,
double min_z,
89 double error_tol = 0.05);
94 vil_image_resource_sptr
dem_;
104 #endif // vpgl_backproject_dem_h_
vil_image_view< float > dem_view_
A camera model based on ratios of cubic polynomials.
vpgl_geo_camera * geo_cam_
vgl_point_3d< double > geo_center_
void set_verbose(bool verbose)
turn on/off messages (default not verbose).
double z_min_
bounds of the DEM.
vgl_point_3d< double > geo_center() const
vpgl_backproject_dem(vil_image_resource_sptr const &dem, double zmin=0.0, double zmax=-1.0)
default constructor not allowed.
std::vector< vgl_point_3d< double > > dem_corners_
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.
double zmax() const
elevation bounds of the DEM (with tail removal).
std::vector< vgl_point_3d< double > > dem_corners() const
geographic corners of the DEM - useful for bounding valid image regions.
vil_image_resource_sptr dem_