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

Home » Public Forums » archive » IDL routine to find contiguous groups of pixels falling within an intensity range
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
IDL routine to find contiguous groups of pixels falling within an intensity range [message #90152] Mon, 02 February 2015 17:55 Go to next message
astroboy.20000 is currently offline  astroboy.20000
Messages: 39
Registered: August 2012
Member
My apologies for a dumb question, but for the life of me I can't find the IDL routine that does the following:

- You have an image or a 3D dataset
- you pick a range of of intensities
- IDL finds the pixels that fall within that range of intensities and
- sees which such pixels are contiguous with other such pixels and
- places them into groups, that is, assigns them an index number.

The next effect is that you have a set of 'blobs' if you will, which contain intensities that fall within the range you defined. Each blob has an index number (or perhaps each pixel within a given blob has that index number, I don't recall).

As I said, I'm sorry for the question but I just can't find the routine anywhere.

Thanks,

Mark
Re: IDL routine to find contiguous groups of pixels falling within an intensity range [message #90153 is a reply to message #90152] Mon, 02 February 2015 18:10 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
M Q writes:

> My apologies for a dumb question, but for the life of me I can't find the IDL routine that does the following:
>
> - You have an image or a 3D dataset
> - you pick a range of of intensities
> - IDL finds the pixels that fall within that range of intensities and
> - sees which such pixels are contiguous with other such pixels and
> - places them into groups, that is, assigns them an index number.
>
> The next effect is that you have a set of 'blobs' if you will, which contain intensities that fall within the range you defined. Each blob has an index number (or perhaps each pixel within a given blob has that index number, I don't recall).
>
> As I said, I'm sorry for the question but I just can't find the routine anywhere

Your description is a little ambiguous. You are probably looking for
Label_Region, but you could also be looking for Search2D or Search3D.
You could also just search Coyote's Guide to IDL Programming for "blob".
Something will probably turn up. ;-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
Re: IDL routine to find contiguous groups of pixels falling within an intensity range [message #90158 is a reply to message #90153] Tue, 03 February 2015 12:04 Go to previous message
astroboy.20000 is currently offline  astroboy.20000
Messages: 39
Registered: August 2012
Member
Thanks Dave,

Search3d is exactly what I'm looking for. I guess the name was too obvious.....

Mark
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Correlate and NAN
Next Topic: SMOOTH function doesn't replace the values of NaN

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

Current Time: Wed Oct 08 11:54:04 PDT 2025

Total time taken to generate the page: 0.00466 seconds