2 #ifndef vpgl_calibration_matrix_h_ 3 #define vpgl_calibration_matrix_h_ 66 {
return !(*
this==that);}
82 #endif // vpgl_calibration_matrix_h_ vpgl_calibration_matrix()
Default constructor makes an identity matrix.
vgl_point_2d< T > principal_point() const
vgl_point_2d< T > map_to_image(vgl_point_2d< T > const &p_focal_plane) const
virtual ~vpgl_calibration_matrix()=default
Destructor.
A class representing the "K" matrix of a perspective camera matrix as described in.
void set_principal_point(const vgl_point_2d< T > &new_principal_point)
T focal_length_
The following is a list of the parameters in the calibration matrix.
vnl_matrix_fixed< T, 3, 3 > get_matrix() const
Get the calibration matrix.
vgl_point_2d< T > principal_point_
vgl_point_2d< T > map_to_focal_plane(vgl_point_2d< T > const &p_image) const
Maps to and from the focal plane.
void set_skew(T new_skew)
void set_y_scale(T new_y_scale)
void set_focal_length(T new_focal_length)
Getters and setters for all of the parameters.
bool operator!=(vpgl_calibration_matrix< T > const &that) const
bool operator==(vpgl_calibration_matrix< T > const &that) const
Equality tests.
void set_x_scale(T new_x_scale)