JavaScript Numerical Computational Series

Image segmentation: create an image and plot array mask.