Active contour segmentation for the identification of metallographic and morphological elements of interest in ductile cast iron