MATLAB implementation of image segmentation algorithms | Synapse