aboutsummaryrefslogtreecommitdiff
path: root/src/image.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-01-21 11:01:07 +0100
committerThomas White <taw@physics.org>2010-01-21 11:06:04 +0100
commita988540d804e46becd904e894f739423240e0937 (patch)
tree24d237b2e466843e5bf30e0a784b0649c8a011a0 /src/image.h
parent4f8424fd5406cdfd05a38b101f386fd6d57a2d8a (diff)
Filter peaks which are obviously due to common mode streaks
Diffstat (limited to 'src/image.h')
-rw-r--r--src/image.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/image.h b/src/image.h
index bb3ab438..ed4517ea 100644
--- a/src/image.h
+++ b/src/image.h
@@ -51,6 +51,9 @@ struct imagefeature {
double ry;
double rz;
+ /* Internal use only */
+ int valid;
+
};
/* An opaque type representing a list of image features */
@@ -131,6 +134,8 @@ extern void image_feature_list_free(ImageFeatureList *flist);
extern void image_add_feature(ImageFeatureList *flist, double x, double y,
struct image *parent, double intensity);
+extern void image_remove_feature(ImageFeatureList *flist, int idx);
+
extern struct imagefeature *image_feature_closest(ImageFeatureList *flist,
double x, double y, double *d,
int *idx);