#include <math.h>
#include <string.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_LineFeatureMap * | gan_line_feature_map_form (Gan_LineFeatureMap *lmap, unsigned max_nlines) |
Forms a line feature map structure. | |
Gan_LineFeatureMap * | gan_line_feature_map_copy (Gan_LineFeatureMap *lmap) |
Copies 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_LineFeature * | gan_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. |
Part of: Gandalf Library