EdgeDetect
EdgeDetect[image] finds edges in image and returns the result as a binary image.
EdgeDetect[image, r] finds edges at the scale of the specified pixel range r.
EdgeDetect[image, r, t] uses a threshold t for selecting image edges.
Examples
Detect edges in an image:
EdgeDetect[ExampleData[{"TestImage", "Lena"}]]Please visit the official Wolfram Language Reference for more details.