Update segmentation.cpp

Added detailed comments to watershed()
Update segmentation.cpp

removed trailing whitespaces
Merge pull request #3444 from Sync-my-L2P:patch-1