> can anyone post a simple watershed algorithms ?/
> simple code is enough...
> thanks...
What is simple code, or a simple algorithm to you? Something which is simple to you might be difficult for me.
Try one of these:
http://www.ewh.ieee.org/ecc/r10/Tencon2003/Articles/394.pdf
http://rsb.info.nih.gov/ij/plugins/watershed.html