This document presents a modified algorithm for image segmentation using a probabilistic model that enhances execution speed while maintaining high-quality results. The authors compare their new technique against existing methods, demonstrating its improved efficiency and effectiveness in matching human perception of image edges. Extensive experiments validate the algorithm's performance on a benchmark dataset, showing it outperforms traditional segmentation algorithms like mean shift and normalized cuts.