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 #76159] Sun, 22 May 2011 23:56 Go to previous message
Bringfried Stecklum is currently offline  Bringfried Stecklum
Messages: 75
Registered: January 1996
Member
wlandsman wrote:
> 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. Thanks, --Wayne

Dear Wayne,

why don't you just convolve the binary image with a Gaussian kernel of a few
pixels width? You may clip the resulting image at some level chosen to produce
the desired line thickness if it needs to be binary again.

This slight blurring (at the expense of some contrast) is also recommended if
IDL line plots are difficult to discern when presented with a beamer.

Regards, Bringfried
[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 03:58:43 PDT 2025

Total time taken to generate the page: 0.48160 seconds