Selection and use of image features for segmentation of boundary images