summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-04-06 21:44:52 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-04-06 21:44:52 +0000
commitfd91760a89279efd032e4a5bb9cdc72536f30ebf (patch)
treeecb0278a59f55886070c8f41a825bc4a81b22fce
parentAdding more robust and detailed checks and messages. (diff)
downloadinkscape-fd91760a89279efd032e4a5bb9cdc72536f30ebf.tar.gz
inkscape-fd91760a89279efd032e4a5bb9cdc72536f30ebf.zip
remove forced blurring from edge detection - tracing removes speckles anyway
(bzr r2829)
-rw-r--r--src/trace/filterset.cpp8
1 files changed, 1 insertions, 7 deletions
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;
}