Main Page   Modules   Compound List   File List   Compound Members   File Members  

orthog_line.h File Reference

#include <gandalf/vision/line_feature.h>
#include <gandalf/vision/edge_feature.h>

Go to the source code of this file.

Functions

Gan_LineFeatureMapgan_orthog_line_q (Gan_EdgeFeatureMap *edge_map, unsigned min_length, unsigned cut_size, float rms_error_thres, Gan_LocalFeatureMapParams *lpms, Gan_Bool copy_points, Gan_LineFeatureMap *line_map)
 Computes image lines using an orthogonal regression algorithm.

Gan_LineFeatureMapgan_orthog_line_s (Gan_EdgeFeatureMap *edge_map, unsigned min_length, unsigned cut_size, float rms_error_thres, Gan_LocalFeatureMapParams *lpms, Gan_Bool copy_points)
 Macro: Computes image lines using an orthogonal regression algorithm.


Detailed Description

Module: Line segment fitting algorithm

Part of: Gandalf Library

Revision: Last edited: Author:

Copyright: (c) 2000 Imagineer Software Limited


Function Documentation

Gan_LineFeatureMap* gan_orthog_line_q Gan_EdgeFeatureMap   edge_map,
unsigned    min_length,
unsigned    cut_size,
float    rms_error_thres,
Gan_LocalFeatureMapParams   lpms,
Gan_Bool    copy_points,
Gan_LineFeatureMap   line_map
 

Computes image lines using an orthogonal regression algorithm.

Parameters:
edge_map The input edge map
min_length The minimum line length
cut_size The length to cut off the ends of each line
rms_error_thres Threshold on RMS error of line fit
lpms Pointer to local feature map parameters or NULL
copy_points Whether to copy the fitted edge points into a line
line_map Resulting line map
Applies a recursive orthogonal regression line finder to edges found in an image.

Returns:
Non-NULL a pointer to the computed line map structure, or NULL on failure.
See also:
gan_orthog_line_s().


Generated on Mon Oct 13 16:14:45 2003 by doxygen1.3-rc1