After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 323304 - Plugin Filters>Edge-Detect>Edges... Option name change
Plugin Filters>Edge-Detect>Edges... Option name change
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Plugins
git master
Other FreeBSD
: Normal trivial
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2005-12-05 20:14 UTC by Pierre-Paul Lavoie
Modified: 2005-12-06 11:53 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pierre-Paul Lavoie 2005-12-05 20:14:19 UTC
Reguarding the plugin Filters>Edge-Detect>Edges... naming convention for it's
algorithm parameter. The first algorithm is named 'Sobel' and is a Sobel
gradient edge detector.

http://homepages.inf.ed.ac.uk/rbf/HIPR2/sobel.htm

A variation of this is the prewitt gradient edge detector. The difference is the
choice of convolution kernel.

sobel kernel
[  1  2  1;
   0  0  0 ;
  -1 -2 -1 ]

prewitt kernel
[  1  1  1;
   0  0  0 ;
  -1 -1 -1 ]

That is..
k=1 for prewitt and k=2 for sobel

[  1  k  1;
   0  0  0 ;
  -1 -k -1 ]

The second algorithm is name 'Prewitt' and is a compass edge detector with a
prewitt kernel and not a prewitt gradient edge detector. This is not obvious
unless one look at the source code. The two algorithms using the same kernel are
quite different too.

http://homepages.inf.ed.ac.uk/rbf/HIPR2/prewitt.htm


I'd suggest to change the algorithm name to something less confusing like
'Compass Prewitt'.
Comment 1 Sven Neumann 2005-12-06 11:53:06 UTC
2005-12-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/edge.c: corrected the algorithm name as
	suggested in bug #323304.