aboutsummaryrefslogtreecommitdiff
path: root/src/reproject.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reproject.c')
-rw-r--r--src/reproject.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/reproject.c b/src/reproject.c
index e919523..c41f173 100644
--- a/src/reproject.c
+++ b/src/reproject.c
@@ -160,7 +160,8 @@ ImageFeatureList *reproject_get_reflections(ImageRecord *image, ReflectionList *
if ( (xtest>=0) && (xtest<image->width) && (ytest>=0) && (ytest<image->height) ) {
/* Record the reflection */
- image_add_feature(flist, x, y, image, reflection->intensity);
+ image_add_feature_index(flist, x, y, image, reflection->intensity,
+ reflection->h, reflection->k, reflection->l);
//printf("Reflection at %f, %f\n", x, y);
} /* else it's outside the picture somewhere */
@@ -198,7 +199,7 @@ static ImageFeature *reproject_find_partner(ImageFeature *feature, ImageRecord *
}
- if ( dmin <= 70.0 ) {
+ if ( dmin <= 20.0 ) {
*d = dmin;
return &image->features->features[closest];
}