From 4676d2c74e1a29d8aa5c0da56cb67ba7a6bb7e0f Mon Sep 17 00:00:00 2001 From: taw27 Date: Tue, 30 Oct 2007 17:29:17 +0000 Subject: Refinement framework git-svn-id: svn://cook.msm.cam.ac.uk:745/diff-tomo/dtr@185 bf6ca9ba-c028-0410-8290-897cf20841d1 --- src/reproject.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/reproject.c') 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) && (xtestwidth) && (ytest>=0) && (ytestheight) ) { /* 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]; } -- cgit v1.2.3