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 #30610 is a reply to message #30523] Mon, 06 May 2002 11:12 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
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: Fri Oct 10 14:35:31 PDT 2025

Total time taken to generate the page: 0.71854 seconds