Java Coding Using Streamstats Watershed