Abstract:In order to realize the touching image segmentation, we used the watershed transform. The first step is the image pre-processing. The main purpose of this step is to transform the original image into a black-white image. The second step is to get the foreground marker using Euclidean distance transform and morphological reconstruction. The third step is to modify the distance transform image using impose minima technology. The last step is the watershed transform. In order to test the new watershed algorithm, we did some experiments using Matlab, and the results show that the watershed algorithm does well and can prevent the over-segmentation.