2014-03-26 21:24:11 -0600 | asked a question | object has no attribute 'DIST_L2' When I run the example of Image Segmentation with Watershed Algorithm(link is listed below), this has error "object has no attribute 'DIST_L2'" dist_transform = cv2.distanceTransform(opening, cv2.DIST_L2, 5) What's wrong with it? Thanks |