Main Page | Modules | Class List | Directories | File List | Class 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

Version:
1.17
Date:
2003/08/26 13:48:50
Author:
pm
Copyright: (c) 2000 Imagineer Software Limited
Generated on Sat May 21 23:52:50 2005 by  doxygen 1.4.3