From 5c781d320ac82428ca449d4dd2f35099d5edde40 Mon Sep 17 00:00:00 2001 From: mutantturkey Date: Wed, 20 Jun 2012 14:18:42 -0400 Subject: 30000 is a bit better --- fly-tools/ThreadedFilterFlyMask/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fly-tools') diff --git a/fly-tools/ThreadedFilterFlyMask/main.c b/fly-tools/ThreadedFilterFlyMask/main.c index 578b215..896a5ba 100644 --- a/fly-tools/ThreadedFilterFlyMask/main.c +++ b/fly-tools/ThreadedFilterFlyMask/main.c @@ -46,7 +46,7 @@ void convert_image(char *file) { MagickCompositeImage(mask, background, DifferenceCompositeOp, 0, 0); // MagickContrastStretchImage(mask, 90000, 0); MagickAutoLevelImage(mask); - MagickThresholdImage(mask, 25000); + MagickThresholdImage(mask, 30000); sprintf(output_name, "%s%s", global_argv[3], basename(file)); if(MagickWriteImages(mask, output_name, MagickTrue) == MagickFalse) { @@ -79,7 +79,7 @@ int main( int argc, char **argv){ } thpool_t* threadpool; /* make a new thread pool structure */ - threadpool=thpool_init(8); /* initialise it to 4 number of threads */ + threadpool=thpool_init(4); /* initialise it to 4 number of threads */ char filename[256]; char *temp; -- cgit v1.2.3