2 #ifndef vgl_norm_trans_2d_h_ 3 #define vgl_norm_trans_2d_h_ 32 #include <vnl/vnl_matrix_fixed.h> 36 # include <vcl_msvc_warnings.h> 59 bool isotropic =
true);
61 bool isotropic =
true);
65 ,
bool isotropic =
true);
77 T& sdx, T& sdy, T& c, T& s);
80 #define VGL_NORM_TRANS_2D_INSTANTIATE(T) extern "please include vgl/algo/vgl_norm_trans_2d.hxx first" 82 #endif // vgl_norm_trans_2d_h_
A class to hold a plane-to-plane projective transformation matrix and to perform common operations us...
Represents a homogeneous 2D line.
3x3 plane-to-plane projectivity
static bool scale_aniostropic(std::vector< vgl_homg_point_2d< T > > const &in, T &sdx, T &sdy, T &c, T &s)
line in projective 2D space
static void center_of_mass(std::vector< vgl_homg_point_2d< T > > const &points, T &cx, T &cy)
bool compute_from_lines(std::vector< vgl_homg_line_2d< T > > const &lines, bool isotropic=true)
The normalizing transform for lines is computed from the set of points defined by the intersection of...
point in projective 2D space
bool compute_from_points_and_lines(std::vector< vgl_homg_point_2d< T > > const &pts, std::vector< vgl_homg_line_2d< T > > const &lines, bool isotropic=true)
The normalizing transform for points and lines is computed from the set of points used by compute_fro...
bool compute_from_points(std::vector< vgl_homg_point_2d< T > > const &points, bool isotropic=true)
compute the normalizing transform.
Represents a homogeneous 2D point.
static bool scale_xyroot2(std::vector< vgl_homg_point_2d< T > > const &in, T &radius)