a parallel minimum spanning tree implementation for images with visualization