Discrete image model and segmentation for microstructure features identification in Ductile irons