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

Home » Public Forums » archive » connected component labeling problem in a graylevel image without background
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
connected component labeling problem in a graylevel image without background [message #32507] Thu, 10 October 2002 21:07 Go to previous message
Julia is currently offline  Julia
Messages: 11
Registered: July 2002
Junior Member
Hi, there,

I have a problem here:
" The problem is like a grayscale photograph of a jar of
marbles. Each marble is uniformly gray. All the marbles are touching each
other, so there is no
background. Two marbles of the same color may not belong to the same
region.
I want to give a unique label to each marble/region."

Now I am solving this problem in this way:
First, use WHERE or HISTOGRAM to get a mask of regions
at each gray level, and then use LABEL_REGION on each mask.

However, this method is not efficient since it needs to scan the image
for several times.

Can I do it only in a raster scan of the image?

Any suggestion will be appreciated,

Julia
[Message index]
 
Read Message
Read Message
Previous Topic: Re: connected component labeling problem in a graylevel image without background
Next Topic: jump to end of a text widget

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

Current Time: Wed Oct 08 14:21:24 PDT 2025

Total time taken to generate the page: 0.00297 seconds