To address the problem of segmenting an image into sizeable homogeneous regions, this paper proposes an efficient agglomerative algorithm on the basis of modularity optimization. Given an oversegmented image that…