From 6ae81306a1be86cf47a7ec97a485b2184e22b4ff Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 11 Mar 2010 17:25:42 +0100 Subject: hdfsee: Show reflection indices ("feature names") --- src/image.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/image.c') diff --git a/src/image.c b/src/image.c index b0869cce..d4b7fcb9 100644 --- a/src/image.c +++ b/src/image.c @@ -71,7 +71,7 @@ ImageList *image_list_new() void image_add_feature(ImageFeatureList *flist, double x, double y, - struct image *parent, double intensity) + struct image *parent, double intensity, const char *name) { if ( flist->features ) { flist->features = realloc(flist->features, @@ -88,6 +88,7 @@ void image_add_feature(ImageFeatureList *flist, double x, double y, flist->features[flist->n_features].parent = parent; flist->features[flist->n_features].partner = NULL; flist->features[flist->n_features].partner_d = 0.0; + flist->features[flist->n_features].name = name; flist->features[flist->n_features].valid = 1; flist->n_features++; -- cgit v1.2.3