IDL routine to find contiguous groups of pixels falling within an intensity range [message #90152] |
Mon, 02 February 2015 17:55  |
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   |
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.")
|
|
|
|