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

Home » Public Forums » archive » polygon filling - binary 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: polygon filling - binary image [message #39910 is a reply to message #39809] Sat, 26 June 2004 11:35 Go to previous message
Paul Sorenson is currently offline  Paul Sorenson
Messages: 48
Registered: May 2002
Member
result = label_region(bytscl(-image))

-Paul Sorenson
www.paulsorenson.com

"Francois" <leduc_francois@hotmail.com> wrote in message
news:1088006119.566831@news.drenet.dnd.ca...
> Hello,
>
> I have a binary image with lines (255) and background (0).
> I would like to fill areas closed by lines with a unique ID.
> Hence obtaining an image with grey levels going from 1 to
> number_of_polygons.
>
> Do you have any hints about how to do this ?
>
> Thank you,
>
> Fran�ois L.
>
>
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: How to crate an mask image from ROI?
Next Topic: Q: !p.multi - changing the plotting order

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

Current Time: Fri Oct 10 11:38:34 PDT 2025

Total time taken to generate the page: 1.60027 seconds