From: buliabyak Date: Fri, 6 Apr 2007 21:44:52 +0000 (+0000) Subject: remove forced blurring from edge detection - tracing removes speckles anyway X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=baef789f08d90d7b374cb7a297710ac7655099e7;p=inkscape.git remove forced blurring from edge detection - tracing removes speckles anyway --- diff --git a/src/trace/filterset.cpp b/src/trace/filterset.cpp index e82ad4ed9..908985225 100644 --- a/src/trace/filterset.cpp +++ b/src/trace/filterset.cpp @@ -354,18 +354,12 @@ grayMapCanny(GrayMap *gm, double lowThreshold, double highThreshold) { if (!gm) return NULL; - GrayMap *gaussGm = grayMapGaussian(gm); - if (!gaussGm) - return NULL; - /*gaussGm->writePPM(gaussGm, "gauss.ppm");*/ - GrayMap *cannyGm = grayMapSobel(gaussGm, lowThreshold, highThreshold); + GrayMap *cannyGm = grayMapSobel(gm, lowThreshold, highThreshold); if (!cannyGm) return NULL; /*cannyGm->writePPM(cannyGm, "canny.ppm");*/ - gaussGm->destroy(gaussGm); - return cannyGm; }