Edge detection (also called “boundary detection”) is a fundamental problem in image processing. The ability to accurately detect visible “edges” in an image has many applications – ranging from missile targeting to OCR to cool Photoshop effects. In this project I’ve compiled 6 well-known edge detection algorithms (along with two of my own for fun). Full VB6 source code is provided, along with an .exe for those interested in just the effect.
Download Edge Detection Code (86 kb)
For those who have never used edge detection algorithms before, here’s an idea of the output:
Original image:

Prewitt method (horizontal):

Prewitt method (vertical):

Sobel method (horizontal):

Sobel method (vertical):

Laplacian method:

Hilite method:

Tanner’s method 1:

Tanner’s method 2:

Related articles:



We did edge detection using the Sobel operator on FPGA and on C (for simulation).
For more details see
the Hardware Edge detector Project
Cool, we did edge detection on FPGA and C program, VB6 hmmm