diff options
author | taw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1> | 2007-10-30 17:29:17 +0000 |
---|---|---|
committer | taw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1> | 2007-10-30 17:29:17 +0000 |
commit | 4676d2c74e1a29d8aa5c0da56cb67ba7a6bb7e0f (patch) | |
tree | 097f2fbb5f36e8086bc62eee0f37771e0a0796f3 /src/reproject.c | |
parent | 98ca230ab68e71cd29402ad689dd929abd46b3d5 (diff) |
Refinement framework
git-svn-id: svn://cook.msm.cam.ac.uk:745/diff-tomo/dtr@185 bf6ca9ba-c028-0410-8290-897cf20841d1
Diffstat (limited to 'src/reproject.c')
-rw-r--r-- | src/reproject.c | 5 |
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]; } |