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

Home » Public Forums » archive » Re: Displaying thicker lines on an image
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: Displaying thicker lines on an image [message #76163 is a reply to message #76162] Sat, 21 May 2011 06:40 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
wlandsman writes:

> I have been using edge detection algorithms, so i end up with an image with values of 255 on the lines defining the edges, and zeros everywhere else. However, when I display the image, the lines don't show up well, so for display purposes I want to make the lines thicker. If I had created the lines with the PLOT command, I would adjust the THICK keyword. But for an image I think I need an algorithm that will identify neighboring pixels to the existing lines.

You might try dilating with a cross as a structuring element.

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Success!! Add and manipulate a visualization in standard iTool - Part II
Next Topic: Re: Log-scaled colorbar example

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

Current Time: Sat Oct 11 05:37:37 PDT 2025

Total time taken to generate the page: 0.48333 seconds