Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是一张图片:
是否可以使用行进正方形算法编写一个程序,给定上面的输入图像,产生以下输出:
两条链状线段,一条形成上述轮廓(山状),另一条形成封装的圆形轮廓?
如果没有,您还建议怎么做?
如果行进方块算法就像行进立方体,它会给你两条轮廓线。
如果示例图像代表您想要处理的图像,您也可以只相互减去相邻像素(请参阅:边缘检测)。