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

Home » Public Forums » archive » Re: uniform expansion
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: uniform expansion [message #41330 is a reply to message #41321] Fri, 08 October 2004 03:10 Go to previous message
Herbert Ramoser is currently offline  Herbert Ramoser
Messages: 1
Registered: October 2004
Junior Member
mark wrote:
> Hello,
> Say I have a random 2D shape (a blob) with an irregular border (all
> pixel values equal to one). What I want to do is uniformly expand it
> in all directions such that it's increased by a constant integer
> number of pixels all around the perimeter. Subtraction of the
> original shape from the new one should yield a thin border with a
> constant width corresponding to the # of pixels the object was
> enlarged by.
> Does anyone have any suggestions... preferrably of an IDL nature?

If I am not mistaken you are asking for morphological dilation:
help bwmorh

-Herbert
[Message index]
 
Read Message
Read Message
Previous Topic: Volume by four vectors
Next Topic: Where and lists of regions

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

Current Time: Fri Nov 28 09:46:46 PST 2025

Total time taken to generate the page: 0.01762 seconds