fixed a typo in the kernel for sobel vertical edge detection spotted by

2003-03-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/edge.c (edge): fixed a typo in the kernel for
	sobel vertical edge detection spotted by Sunil Mohan Adapa (bug
	#107441).
This commit is contained in:
Sven Neumann
2003-03-03 13:22:09 +00:00
committed by Sven Neumann
parent b31fd4b911
commit eab662ff5d
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2003-03-03 Sven Neumann <sven@gimp.org>
* plug-ins/common/edge.c (edge): fixed a typo in the kernel for
sobel vertical edge detection spotted by Sunil Mohan Adapa (bug
#107441).
2003-03-03 Michael Natterer <mitch@gimp.org>
* app/widgets/gimppreviewrenderer.[ch]: removed the constructors

View File

@ -326,7 +326,7 @@ edge (GimpDrawable *drawable)
/* make convolution */
sum1 = (PIX(2,0) - PIX(0,0)) +
2 * (PIX(2,1) - PIX(0,1)) +
(PIX(2,2) - PIX(2,0));
(PIX(2,2) - PIX(0,2));
sum2 = (PIX(0,2) - PIX(0,0)) +
2 * (PIX(1,2) - PIX(1,0)) +
(PIX(2,2) - PIX(2,0));