comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: How to detect edge of an image in IDL?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: How to detect edge of an image in IDL? [message #35621] Mon, 30 June 2003 06:26 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
TIAN Yunfeng writes:

> I wonder if there are routines doing edge detection in IDL. I look
> through the IDL Online Help, and only find two simple edge enhancement
> functions (sobel & roberts). I want to use Gauss-Laplacian or Canny
> edge operators to get binary edge images. Does someone have any ideas?

You can use the CONVOL function to implement Laplacian
edge detection in IDL. You can find a very simple
example of using Laplacian edge detection to sharpen
an image in this article:

http://www.dfanning.com/ip_tips/sharpen.html

I've never used a Canny filter in IDL, but I think
it could be created if you can't find someone who
has already done it. I suspect both the Gauss-Lbplacian
and the Canny filters are two step processes in which
a gaussian filter is applied, followed by the Laplacian.
You ought to be able to do both with the CONVOL function.

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Previous Topic: Setting values in an array without usings loops
Next Topic: Re: Setting values in an array without usings loops

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 20:19:19 PDT 2025

Total time taken to generate the page: 0.72110 seconds