From 730ec83a02c4cbc8de5637c362922840597586a5 Mon Sep 17 00:00:00 2001 From: cristy Date: Fri, 4 Apr 2014 16:06:24 +0000 Subject: [PATCH] --- MagickCore/effect.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MagickCore/effect.c b/MagickCore/effect.c index f78f41146..368e20e50 100644 --- a/MagickCore/effect.c +++ b/MagickCore/effect.c @@ -905,7 +905,7 @@ static MagickBooleanType IsAuthenticPixel(const Image *image,const ssize_t x, static MagickBooleanType TraceEdge(Image *edge_image,CacheView *edge_view, MatrixInfo *pixel_cache,const ssize_t x,const ssize_t y, - const double threshold,ExceptionInfo *exception) + const double lower_threshold,ExceptionInfo *exception) { CannyInfo pixel; @@ -944,10 +944,10 @@ static MagickBooleanType TraceEdge(Image *edge_image,CacheView *edge_view, Not an edge if gradient value is below the lower threshold. */ (void) GetMatrixElement(pixel_cache,x+u,y+v,&pixel); - if (pixel.intensity < threshold) + if (pixel.intensity < lower_threshold) continue; status=TraceEdge(edge_image,edge_view,pixel_cache,x+u,y+v, - threshold,exception); + lower_threshold,exception); if (status != MagickFalse) return(MagickTrue); } -- 2.40.0