aboutsummaryrefslogtreecommitdiff
path: root/src/image.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-03-11 17:25:42 +0100
committerThomas White <taw@physics.org>2010-03-11 17:25:42 +0100
commit6ae81306a1be86cf47a7ec97a485b2184e22b4ff (patch)
treed105cc4430a0ed96643d947fd7281ce29c85da76 /src/image.h
parent23838cbb7fc78a020bf5939f652e94d326c6d57e (diff)
hdfsee: Show reflection indices ("feature names")
Diffstat (limited to 'src/image.h')
-rw-r--r--src/image.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/image.h b/src/image.h
index 16452a0f..5159d63e 100644
--- a/src/image.h
+++ b/src/image.h
@@ -47,6 +47,7 @@ struct imagefeature {
/* Internal use only */
int valid;
+ const char *name;
};
/* An opaque type representing a list of image features */
@@ -111,7 +112,8 @@ extern ImageFeatureList *image_feature_list_new(void);
extern void image_feature_list_free(ImageFeatureList *flist);
extern void image_add_feature(ImageFeatureList *flist, double x, double y,
- struct image *parent, double intensity);
+ struct image *parent, double intensity,
+ const char *name);
extern void image_remove_feature(ImageFeatureList *flist, int idx);