Main Page   Modules   Compound List   File List   Compound Members   File Members  

line_feature.c File Reference

#include <math.h>
#include <gandalf/vision/line_feature.h>
#include <gandalf/common/misc_error.h>
#include <gandalf/common/allocate.h>
#include <gandalf/common/compare.h>
#include <gandalf/image/image_gl_int.h>

Defines

#define FEATURE_ARRAY_STEP_SIZE   500
#define POINT_ARRAY_REALLOC_SIZE   5000

Functions

Gan_LineFeatureMapgan_line_feature_map_form (Gan_LineFeatureMap *lmap, unsigned max_nlines)
 Forms a line feature map structure.

void gan_line_feature_map_free (Gan_LineFeatureMap *lmap)
 Frees a line feature map structure.

Gan_Bool gan_line_feature_map_clear (Gan_LineFeatureMap *lmap, unsigned height, unsigned width, Gan_Matrix23_f *A, Gan_LocalFeatureMapParams *lpms)
 Sets up and clears a line feature map structure.

Gan_LineFeaturegan_line_feature_add (Gan_LineFeatureMap *lmap, float y1, float x1, float y2, float x2, Gan_SquMatrix22_f *N, int status, int index, float strength, Gan_Vector2_f *point, unsigned npoints)
 Adds a line to a line feature map.

Gan_Bool gan_line_feature_map_postprocess (Gan_LineFeatureMap *lmap)
 Postprocess feature map.


Detailed Description

Module: Image line segment definition and functions

Part of: Gandalf Library

Revision: Last edited: Author:

Copyright: (c) 2000 Imagineer Software Limited


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