home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
swCHIP 1991 January
/
swCHIP_95-1.bin
/
demo
/
wit4711
/
lib
/
help
/
segment
/
getblobs.
/
getblobs.bin
Wrap
Text File
|
1995-12-09
|
898b
|
19 lines
OPERATOR
getBlobs --- run-length encode objects
DESCRIPTION
The getBlobs operator performs a connectivity analysis on run lengths for
pixels from the input image scene. The input image must be an 8 or 16-bit
unsigned image and should have been previously thresholded using the localThresh
operator. The algorithm proceeds at the top of an image to the bottom,
scanning left to right and collects run lengths representing a set of pixels
non-zero pixels. Any run length previously found and directly above the
current runlength is considered part of the same object. When the end of the
image is reached all objects are found. This operator sends the resulting
blob vector where each element consists of an id and a set of run lengths
to the output port. The blob vector makes up the basic data to begin
forming features or computing feature perimeters.