ImageTools
EdgeDetect
detect edge of an image
Calling Sequence
Parameters
Options
Description
Examples
Compatibility
EdgeDetect(img)
img
-
Image; the image
method = Sobel, Robert, Prewitt3 or Prewitt4
Specifies which convolution mask should be used. The default mask is Sobel. The convolution masks used are as follows:
Sobel: and
Robert: and
Prewitt3: and
Prewitt4: and
The EdgeDetect(img) command extracts the horizontal and vertical edges by using the mask specified by method and then combines them to extract the edges of an image.
The Threshold command can be applied after calling EdgeDetect(img), for example to have the edges show up as black on white instead of the reverse (see below). This Threshold Example shows another way to use it.
The ImageTools[EdgeDetect] command was introduced in Maple 2019.
For more information on Maple 2019 changes, see Updates in Maple 2019.
See Also
ImageTools[Convolution]
ImageTools[Mask]
ImageTools[Scale]
ImageTools[Threshold]
Download Help Document