Abstract:Based on mathematical morphology, a new algorithm for edge detection was proposed, which has a bright future in practical application. This new algorithm has the advantages of simplicity, convenience, flexibility and programmability, better than the old one. The experimental demonstrations were given.