Introduction - If you have any usage issues, please Google them yourself
This paper introduces the general methods of image processing, including spatial image enhancement, image segmentation, dilation and erosion, and the specific code has been debugged and run OK.