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 #76219 is a reply to message #76159] Tue, 24 May 2011 07:59 Go to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
Thanks David and Bringfried,

Both dilation with a cross and Gaussian smoothing work fine, though the dilation is definitely quicker.

Incidentally, I tried out the new GAUSS_SMOOTH() function introduced in IDL 8.1. (It simply computes a Gaussian kernel and applies the CONVOL function.) I was annoyed to discover that it does nothing to integer images, though no warning is given. The reason is that the kernel data type is forced to match that of the image, and the Gaussian kernel is created with a peak value of 1, so all other kernel pixels are truncated to zero.

Instead, GAUSS_SMOOTH() should convert the input integer data to float, apply the smoothing, and then round back to integer. --Wayne
[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: Thu Oct 16 21:10:33 PDT 2025

Total time taken to generate the page: 2.08287 seconds