#include <gandalf/common/misc_defs.h>
#include <gandalf/vision/camera.h>
#include <gandalf/vision/local_feature.h>
#include <gandalf/image/pixel.h>
#include <gandalf/linalg/2vectorf.h>
#include <gandalf/linalg/2x3matrixf.h>
Go to the source code of this file.
Compounds | |
struct | Gan_LineFeature |
2D line feature structure. More... | |
struct | Gan_LineFeatureMap |
2D line feature map structure. More... | |
Typedefs | |
typedef Gan_LineFeature | Gan_LineFeature |
2D line feature structure. | |
typedef Gan_LineFeatureMap | Gan_LineFeatureMap |
2D line feature map structure. | |
Functions | |
Gan_LineFeatureMap * | gan_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_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. | |
Gan_LineFeatureMap * | gan_line_feature_map_alloc (unsigned max_nlines) |
Macro: Allocates a line feature map structure. |
Part of: Gandalf Library
Revision: Last edited: Author:
Copyright: (c) 2000 Imagineer Software Limited
|
Adds a line to a line feature map.
The strength should be in units linear with the image intensity, if that is applicable. N is the covariance of the canonical line parameters a/b in y=ax+b, with the x/y coordinate system centred on the midpoint of the line (p1+p2)/2, with the positive x-axis along the line towards the p2 endpoint, and the positive y-axis 90 degrees anticlockwise from the x-axis.
|
|
Sets up and clears a line feature map structure.
NULL, is passed to gan_local_feature_map_form() to build a local blocked feature map for the line features.
|
|
Forms a line feature map structure.
|
|
Frees a line feature map structure.
|
|
Postprocess feature map.
UINT_MAX index argument, so that the index array for the local features will be built.
|