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

Home » Public Forums » archive » about label regions
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: about label regions [message #30609 is a reply to message #30523] Mon, 06 May 2002 12:53 Go to previous messageGo to previous message
Xiaoying Jin is currently offline  Xiaoying Jin
Messages: 20
Registered: May 2002
Junior Member
Thanks for your reply.
"It sounds to me like your regions are contiguous to each other"
Yes. But the regions maybe have the same gray level if they do not connect
with each other. So if I use WHERE or HISTOGRAM, it will not discriminate
those regions with the same gray level. But I want label each of them a
unique label.
Any suggestion?

Regards,

Xiaoying Jin

"David Fanning" <david@dfanning.com> wrote in message
news:MPG.174075736c89297e9898bd@news.frii.com...
> Xiaoying Jin (xje4e@mizzou.edu) writes:
>
>> I know there is a function 'label_region' built in IDL. But that is for
the
>> case a lot of disconnected regions seperated by background. However, In
my
>> case, there is no backgound, all the regions connect with some other
>> regions.
>>
>> What do I suppose to do in this case?
>
> The reason for a lack of response yet may mean that
> others are as confused as I am about what you are
> asking about. It sounds to me like your regions
> are contiguous to each other, but touching other
> regions. If so, then a simple WHERE function can
> pull out all the pixels with a particular value.
> Or, HISTOGRAM could do it all at once. If you
> need the indices of the pixels of a particular
> value, you can obtain them with the REVERSE_INDICES
> keyword.
>
> Cheers,
>
> David
> --
> David W. Fanning, Ph.D.
> Fanning Software Consulting
> Phone: 970-221-0438, E-mail: david@dfanning.com
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
> Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Mac OS X
Next Topic: suppressing carriage return in PRINT

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

Current Time: Wed Oct 08 18:39:48 PDT 2025

Total time taken to generate the page: 0.00405 seconds