This work shows the microstructure characterization utility for the analysis of material properties. To achieve this purpose, digital image segmentation is used on microscopic images of materials to extract the number of phases and their proportion present in the material to obtain a quantitative description of material properties and to better control product quality. In this way, we present here an automated method for segmenting the phases present in microscopic scanning images of metallographic samples using a multiphase level set with Mumford Shah formulation. Experience shows that the proposed model successfully detects phase regions for a variety of real micrographic images Povzetek: Predstavljena je metoda za segmentiranje slik, pridobljenih z optičnim mikroskopom, za ugotavljanje lastnosti materiala..