Performs an edge detect using Sobel filter.
The result is a gray scale bitmap: high values (closed to 255) are edges.
When ImageLocation is Drawable, the output pixel format is RGB 24, otherwise it is gray scale 8 bit.
To make result black/white (with 1=edge) it is suggested to call ConvertToBlackWhite(Threshold,-2), that uses Maximum Entropy Algorithm.
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0
Syntax
C# | Visual Basic | Visual C++ |
public void EdgeDetect_Sobel()
Public Sub EdgeDetect_Sobel
public: void EdgeDetect_Sobel()