scikit-image has some fairly impressive functionality, despite its relatively lightweight packaging. In fact, one submodule in particular can replicate almost the entirety of what you did in in this homework so far: skimage.segmentation
. Check out its documentation page and see if you can replicate your results.
You'll need to read in the noisy.png
image (included with this assignment). Experiment with the different segmentation functions available in the submodule and plot the resulting segmentation maps. No credit will be given unless there are accompanying segmentation plots!
Except for that restriction, you're welcome to use NumPy and Matplotlib; you just can't use other segmentation techniques or strategies implemented elsewhere.
In [ ]: