aboutsummaryrefslogtreecommitdiff
path: root/fly-tools/ThreadedFilterFlyMask/main.c
diff options
context:
space:
mode:
authormutantturkey <mutantturke@gmail.com>2012-06-20 14:18:42 -0400
committermutantturkey <mutantturke@gmail.com>2012-06-20 14:18:42 -0400
commit5c781d320ac82428ca449d4dd2f35099d5edde40 (patch)
treeccb903d9218426e431e2d1b645511c730dd1e3c2 /fly-tools/ThreadedFilterFlyMask/main.c
parentbdfc6da36e22544cedc73f84a71c80de5857ce20 (diff)
30000 is a bit better
Diffstat (limited to 'fly-tools/ThreadedFilterFlyMask/main.c')
-rw-r--r--fly-tools/ThreadedFilterFlyMask/main.c4
1 files changed, 2 insertions, 2 deletions
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;