Recently, I'm using contour following method. And I've download a very good and useful code. Thanks a lot to the programmer.
But there are some different in my case, my image appears some breaks. This code will stop finding contour.
So I have to connect the contour first.
At first, I use my own way to choose where to add new points. It of course showed me error.
Good programmers only consider how to make sure their codes work excellently first.
Not for you easy to understand, and easy to edit. (They don't know where will you edit, and they can't take so good care)
No matter how, I makes it workable for me.
And learent a new lesson. Understand other's code first!!
本文探讨了在使用轮廓追踪方法处理图像时遇到断裂轮廓的问题,并分享了解决方案。通过深入理解他人代码,作者成功地调整了自己的实现,确保了算法在实际应用中的稳定性和准确性。

被折叠的 条评论
为什么被折叠?



