Sign in to follow this  
PhilipLB

Mexican Hat Edge Detect

Recommended Posts

Don't we have an edge detect already? Actually, stuff the rhetoric, we do. It's a default effect that comes with PdN. You can find it in the Stylize menu. Keep trying though - don't let me stop you! :mrgreen:

Share this post


Link to post
Share on other sites

I don't know, how the default-one works. I think it goes in a specific angle with scanlines over the image and the result is the first derive of the pixels in this direction.

Mine goes in x- and y-direction with the second derive and combines the two results (Laplace-filter). First, it reduces the noise with a gaussian blurr.

-> Laplace-Kernel:

0 1 0

1 -4 1

0 1 0

Share this post


Link to post
Share on other sites

The difference:

The default one only detects angles in a certain direction. Mine detects all edges.

See on the image, how some edges aren't detected by the default-one.

The ui of mine is simple. Just a slider to controll the amount of noise-reduce.

First image: Really nice result with noise-reduce = 1 and then normalized (See viewtopic.php?f=16&t=23154 ). :D

13568_e519a87b46c0a9c23dea184f0d715e74

13568_0ee75a7a0a065276663615edf2a38857

Share this post


Link to post
Share on other sites

You have to admit, no matter how similar the two are, PhilipLB's results much crisper lines. In my opinion.

Share this post


Link to post
Share on other sites
You have to admit, no matter how similar the two are, PhilipLB's results much crisper lines. In my opinion.

Agreed, can we get this one to replace the default one?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this