Class CannyEdgeDetector

java.lang.Object
imagingbook.common.edges.CannyEdgeDetector
All Implemented Interfaces:
EdgeDetector

public class CannyEdgeDetector extends Object implements EdgeDetector

This class implements a Canny edge detector for grayscale and RGB images. See Sec. 16.3 (Alg. 16.3) of [1] for more detail. The edge detector is "lazy" in the sense that it performs local non- maximum suppression and edge tracing only when the results are explicitly queried (by the methods getEdgeBinary() and getEdgeTraces()).

[1] W. Burger, M.J. Burge, Digital Image Processing – An Algorithmic Introduction, 3rd ed, Springer (2022).

Version:
2022/09/04 converted to implement interface, use PixelPack