Public Member Functions | Public Attributes | Protected Member Functions | Private Attributes | List of all members
dem_bproj_cost_function Class Reference
Inheritance diagram for dem_bproj_cost_function:
Inheritance graph
[legend]

Public Member Functions

 dem_bproj_cost_function (vil_image_view< float > const &dem_view, vpgl_geo_camera *geo_cam, vgl_ray_3d< double > const &ray, bool verbose=false)
 
double f (vnl_vector< double > const &x) override
 x is the parameter that runs along the ray, with x=0 at the ray origin. More...
 
virtual void gradf (vnl_vector< double > const &x, vnl_vector< double > &gradient)
 
vnl_vector< double > gradf (vnl_vector< double > const &x)
 
virtual void compute (vnl_vector< double > const &x, double *f, vnl_vector< double > *g)
 
int get_number_of_unknowns () const
 
void fdgradf (vnl_vector< double > const &x, vnl_vector< double > &gradient, double stepsize=1e-5)
 
vnl_vector< double > fdgradf (vnl_vector< double > const &x)
 
virtual double reported_error (double f_value)
 
virtual double get_range_min () const
 
virtual double get_range_max () const
 
virtual vnl_unary_function< double, vnl_vector< double > > * Copy () const
 

Public Attributes

int dim
 

Protected Member Functions

void set_number_of_unknowns (int number_of_unknowns)
 

Private Attributes

vgl_ray_3d< double > ray_
 
vpgl_geo_camerageo_cam_
 
const vil_image_view< float > * dview_
 
bool verbose_
 

Detailed Description

Definition at line 16 of file vpgl_backproject_dem.cxx.

Constructor & Destructor Documentation

◆ dem_bproj_cost_function()

dem_bproj_cost_function::dem_bproj_cost_function ( vil_image_view< float > const &  dem_view,
vpgl_geo_camera geo_cam,
vgl_ray_3d< double > const &  ray,
bool  verbose = false 
)
inline

Definition at line 18 of file vpgl_backproject_dem.cxx.

Member Function Documentation

◆ f()

double dem_bproj_cost_function::f ( vnl_vector< double > const &  x)
inlineoverridevirtual

x is the parameter that runs along the ray, with x=0 at the ray origin.

Reimplemented from vnl_cost_function.

Definition at line 21 of file vpgl_backproject_dem.cxx.

Member Data Documentation

◆ dview_

const vil_image_view<float>* dem_bproj_cost_function::dview_
private

Definition at line 44 of file vpgl_backproject_dem.cxx.

◆ geo_cam_

vpgl_geo_camera* dem_bproj_cost_function::geo_cam_
private

Definition at line 43 of file vpgl_backproject_dem.cxx.

◆ ray_

vgl_ray_3d<double> dem_bproj_cost_function::ray_
private

Definition at line 42 of file vpgl_backproject_dem.cxx.

◆ verbose_

bool dem_bproj_cost_function::verbose_
private

Definition at line 45 of file vpgl_backproject_dem.cxx.


The documentation for this class was generated from the following file: