.INPUT FILE: IMG001
[Enter the name of the input image file.]
.OUTPUT FILE: IMG002
[Enter name for output file.]
NOTES
Does not work for volumes.
First all pixels are sorted. Wartershed formation starts
with the least intense pixel. This pixel is recursively connected
to all adjacent pixels with equal or greater intensity to
form a watershed. This process is continued with the next
lowest intensity pixel which is not yet in any watershed
until all pixels have been assigned to a watershed.
Watersheds are numbered: 1,2.....
Watershed segmentation is implementation dependent and
a 'watershed' is not well defined for some topographies.
E.g. what should the watershed be if you take a flat
plate and put some dimples in it?
You may want to 'low pass filter' your image before
using this operation?
You may want to use EC CL
or EC FILTER in
conjunction with this operation.