Abstract
Digital image processing is an important aspect in the calculator applied realm, which involves the theories problem of numerous sciences and actual method. It has affected each aspect of science technology and society. We take the gradation morphology processing basic algorithm (Dilate, Erode, Open and Close) as the foundation, and we can combine these algorithm to realize extraction boundary, image segmentation, grads transform , Degrease noise , boundary measuring etc.. This text mainly introduces how to use VC++ to carry out four kinds of basic arithmetic of gray morphological processing: Dilate, Erode, Open and Close. The processed object of two value morphology is concourse, mathematical morphology operation uses structuring element B to process image concourse A. Gray morphological operation regards the object as the image functions, morphology operation uses the structuring element b(x ,y) to process image functions f(x ,Y).but not processing in image concourse. The experiment results show that morphology processing can be achieved with that we can use some structural elements to measure and distill corresponding shape of image to achieve the Image analysis and identification purposes. Dilate can be expanded to all boundary with one pixel, Erode can be reduced boundary borders, Open and Close will allow smooth boundary contour。Thus morphological processing can maintain the image of the basic characteristics of shape and remove extraneous structure.