To give you an ad-free browsing experience, this website is completely funded by donations. If you use the information in this article to solve a problem, entertain yourself, or otherwise improve your life, please consider a small donation to help pay for server costs. (Even $1 helps!) Many thanks, and enjoy the site!

// Graphics Code

Edge Detection (in VB6)

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.

For those who have never used edge detection algorithms before, here’s an idea of the output:

Original image:

Lost_TV

Prewitt method (horizontal):

lost_1

Prewitt method (vertical):

lost_2

Sobel method (horizontal):

lost_3

Sobel method (vertical):

lost_4

Laplacian method:

lost_5

Hilite method:

lost_6

Tanner’s method 1:

lost_7

Tanner’s method 2:

lost_8

 

bookmark and share this article

if you liked this article, you may also like

Discussion (Oldest Comments Displayed First)

Public comments are closed for this article. Private comments may be submitted using this link.
  1. Cool, we did edge detection on FPGA and C program, VB6 hmmm

    Posted by the edge detection project | May 25, 2009, 12:45 pm