Commit eab662ff authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

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).
parent b31fd4b9
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
......@@ -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));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment