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

Home » Public Forums » archive » Grouping adjacent detected pixels?
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
Grouping adjacent detected pixels? [message #4998] Mon, 28 August 1995 00:00
grunes is currently offline  grunes
Messages: 68
Registered: September 1993
Member
Subject: Grouping adjacent detected pixels?

I have an image of "detected" points--
True for pixels meeting some detection criteria (such as brightness).
False otherwise.

I wish, using WAVE or IDL, to:

1. Group together adjacent detected pixels.
If I want to get fancy, I might try to group together detected
pixels which are within a specific distance of touching.

2. Get a something like a structure back, each element of which
describes one such group. Each element would be an array
of the coordinates of the pixels in the adjacent group.

Can anyone think of an EFFICIENT way to do this that does not involve
a massively slow loop which loops once for each detected pixel?

(There are many, many detected points, and IDL/WAVE are rather slow
at loops.)

Thanks in advance for your response.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Grouping adjacent detected pixels?
Next Topic: fortran starting idl

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

Current Time: Sat Oct 11 10:33:50 PDT 2025

Total time taken to generate the page: 0.45490 seconds