Skip to main content
gamedev.net
🔒 Locked

Edge Detector Info?

Started by fathom88 Sep 27, 2006 at 6:30 AM 2 replies 1k views
Original Post
fathom88
fathom88
I'm trying to find some information on edge detecting. Can anyone point me in the right direction? I tried Google and the sites I found where not very good at explaining the subject. Thanks. BTW, I read Sobel was not a good one to use on a noisy image. Which one would be good on a blurry image?
zedzeek
zedzeek
(note im not talking about silloettes)

u can do a dotproduct( view_dir, normal ) if its close to 0.0 its gonna be on the edge

or u can ( i was testing AA methods with this method ) compare the pixels depth value (from the depthbuffer) with its neightbours depth value if the differnce is over a certain value thens its at an edge

u could also do a sharpening filter
python_regious
python_regious
Ok, edge detecting what? For colour images, there's the Robust Colour Morphological Gradient - which produces decent results and a relatively low computational cost. There's also the compass method which does produce better results than the RCMG - however it's far more computationally expensive. If you want to know more about the RCMG and the CM operations required then let me know.

For greyscale, there's a few decent ones. Mainly, these are the Laplacian of Gaussian (LoG) and Canny edge detectors.
If at first you don't succeed, redefine success.
TheAdmiral
TheAdmiral
python_regious's reply is pretty complete, but for completeness: The Sobel operator is not entirely useless on noisy images. If you 'close' the image by eroding it then dilating it, noise will be greatly reduced, without destroying the significant details. The technique can be applied several times if necessary (at the cost of image quality) before applying a Sobel filter. However, in many cases, there are better alternatives.

As for blurry images: they are, by definition, relatively noise-free, so you have a broad range of filters at your disposal, Sobel included.

Regards
Admiral
Ring3 Circus - Diary of a programmer, journal of a hacker.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.