The Blake-Zisserman model for digital surface models segmentation