Zadanie 10 Fix

This commit is contained in:
Sebastian Spaloniak 2020-05-12 00:07:34 +02:00
parent d39f5c72f5
commit e03241451e

View File

@ -48,7 +48,7 @@ PNM* EdgeCanny::transform()
PNM* newImage = new PNM(width, height, QImage::Format_Indexed8); 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(); tmpImage = ConversionGrayscale(image).transform();
@ -182,7 +182,6 @@ PNM* EdgeCanny::transform()
for (int i = 1; i <= 2; i++) for (int i = 1; i <= 2; i++)
{ {
QPoint dirVe; QPoint dirVe;
int point2n = 2;
if ( i == 1) if ( i == 1)
{ {
if (kos[pos] == 0) if (kos[pos] == 0)