java.lang.Object
imagingbook.common.edges.GrayscaleEdgeDetector
- All Implemented Interfaces:
EdgeDetector
Simple grayscale edge detector for all types of images. Color images are converted to grayscale before edge detection. See Sec. 5.3 of [1] for a detailed description.
[1] W. Burger, M.J. Burge, Digital Image Processing – An Algorithmic Introduction, 3rd ed, Springer (2022).
- Version:
- 2022/12/12
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the calculated edge magnitude for each pixel as aFloatProcessor.Returns the calculated edge orientation for each pixel as aFloatProcessor.
-
Constructor Details
-
GrayscaleEdgeDetector
-
-
Method Details
-
getEdgeMagnitude
Description copied from interface:EdgeDetectorReturns the calculated edge magnitude for each pixel as aFloatProcessor.- Specified by:
getEdgeMagnitudein interfaceEdgeDetector- Returns:
- the edge magnitude map
-
getEdgeOrientation
Description copied from interface:EdgeDetectorReturns the calculated edge orientation for each pixel as aFloatProcessor.- Specified by:
getEdgeOrientationin interfaceEdgeDetector- Returns:
- the edge orientation map
-