diff options
| author | bulia byak <buliabyak@gmail.com> | 2007-04-06 21:44:52 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2007-04-06 21:44:52 +0000 |
| commit | fd91760a89279efd032e4a5bb9cdc72536f30ebf (patch) | |
| tree | ecb0278a59f55886070c8f41a825bc4a81b22fce /src | |
| parent | Adding more robust and detailed checks and messages. (diff) | |
| download | inkscape-fd91760a89279efd032e4a5bb9cdc72536f30ebf.tar.gz inkscape-fd91760a89279efd032e4a5bb9cdc72536f30ebf.zip | |
remove forced blurring from edge detection - tracing removes speckles anyway
(bzr r2829)
Diffstat (limited to 'src')
| -rw-r--r-- | src/trace/filterset.cpp | 8 |
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; } |
