Classes
contrib/brl/bseg/sdet/sdet_grid_finder.h File Reference

a processor for finding a grid of orthogonal lines in an image More...

#include <vcl_vector.h>
#include <vgl/vgl_homg_point_2d.h>
#include <vgl/algo/vgl_h_matrix_2d.h>
#include <vsol/vsol_line_2d_sptr.h>
#include <vsol/vsol_point_2d_sptr.h>
#include <bsol/bsol_hough_line_index_sptr.h>
#include <sdet/sdet_grid_finder_params.h>
#include <vil1/vil1_image.h>

Go to the source code of this file.

Classes

class  grid_profile_matcher
class  sdet_grid_finder

Detailed Description

a processor for finding a grid of orthogonal lines in an image

Given a grid with squares of known spacing, the homography that best maps the grid into the image is found by grouping line segments detected in the image to form the vanishing points for the line segments. An approximate homography is established to enable a search for the best fit of the grid in the image. A final homography is computed using all the line-to-line correspondences in a least squares solution

Author:
J.L. Mundy - April 10, 2003
    Modifications
     DEC 9/3/2003 - replaced line_chamfer_1d with grid_profile_matcher
                  - added functions to output homographies to file
                  - added function to check homography with original image
     Bing Yu 11/22/2007
                  - added an accessor function to output grid points
                  - added an accessor function to set minimum line length
   

Definition in file sdet_grid_finder.h.