home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
swCHIP 1991 January
/
swCHIP_95-1.bin
/
demo
/
wit4711
/
lib
/
help
/
segment
/
zerox.
/
zerox.bin
Wrap
Text File
|
1995-12-09
|
2KB
|
33 lines
OPERATOR
zeroX --- zero crossing detector
DESCRIPTION
The zeroX operator finds zero crossings in the signed greyscale input image.
One of three types of zero crossings may be found:
all
lo->hi
hi->lo
When all zero crossings are desired, both low to high and high to low
transitions are marked if the zero crossing pass a contrast test. The test
ensures that the amplitudes of the high and low pixel values defining the
zero crossing are above and below the contrast value respectively. If lo->hi
or hi->lo options are selected then upgoing or downgoing zero crossings are
marked if the zero crossing meets a modified contrast test. The modified
contrast test searches backward and forward from a potential zero crossing
point to ensure the given contrast is present within the zxwidth .
For example, if lo->hi transitions are desired then for each such transition
found, the algorithm will search backwards along the negative lobe (for not
more than zxwidth pixels) for a pixel less than the given contrast. If this
condition is met, then the algorithm searches forward along the positive lobe
(for not more than zxwidth pixels) for a pixel greater than the given
contrast. If this condition is met then the zero crossing is marked,
otherwise it is rejected. This detection technique is effective in dealing
with images which arose from edge detection that are too noisy for simple
zero crossing detection and would suffer in a loss of resolution if smoothing
were applied.