aims to cluster pixels based on spatial locality