diff options
author | taw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1> | 2007-10-19 16:25:08 +0000 |
---|---|---|
committer | taw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1> | 2007-10-19 16:25:08 +0000 |
commit | 45864cb5113ec4dde6afe1d23ea53f75402b9ece (patch) | |
tree | b3d4dad81bcfa34037cb067e1356303b32401df1 /src/mrc.c | |
parent | 7c4c25f2eda4f0a0780cf2edb087452ceb63f226 (diff) |
Refactor image handling code
Remove itrans-lsq
git-svn-id: svn://cook.msm.cam.ac.uk:745/diff-tomo/dtr@158 bf6ca9ba-c028-0410-8290-897cf20841d1
Diffstat (limited to 'src/mrc.c')
-rw-r--r-- | src/mrc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -24,6 +24,7 @@ #include "itrans.h" #include "reflections.h" #include "utils.h" +#include "image.h" int mrc_read(ControlContext *ctx) { @@ -88,12 +89,11 @@ int mrc_read(ControlContext *ctx) { for ( y=0; y<mrc.ny; y++ ) { uimage[x + mrc.nx*y] = image[x + mrc.nx*y] + 32767; if ( uimage[x + mrc.nx*y] < 10 ) printf("%i\n", uimage[x + mrc.nx*y]); - } } free(image); - control_add_image(ctx, uimage, mrc.nx, mrc.ny, ext[i].a_tilt); + image_add(ctx->images, uimage, mrc.nx, mrc.ny, ext[i].a_tilt, ctx); } |