diff --git a/lpo-projekt-v2/src/core/transformations/edge_canny.cpp b/lpo-projekt-v2/src/core/transformations/edge_canny.cpp index 7c2f6b5..7582d4e 100644 --- a/lpo-projekt-v2/src/core/transformations/edge_canny.cpp +++ b/lpo-projekt-v2/src/core/transformations/edge_canny.cpp @@ -48,7 +48,7 @@ PNM* EdgeCanny::transform() PNM* newImage = new PNM(width, height, QImage::Format_Indexed8); - PNM* tmpImage = new PNM(width, height, QImage::Format_Indexed8); + PNM* tmpImage = new PNM(width, height, QImage::Format_Indexed8); tmpImage = ConversionGrayscale(image).transform(); @@ -182,7 +182,6 @@ PNM* EdgeCanny::transform() for (int i = 1; i <= 2; i++) { QPoint dirVe; - int point2n = 2; if ( i == 1) { if (kos[pos] == 0)