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.
如何用Matlab检测图像中的椭圆并消除图像的冗余部分?
这在很大程度上取决于图像中的噪点等等。
要尝试的一件事是使用edge:检测边缘 BW = edge(I,'canny'),
edge
BW = edge(I,'canny')
然后用 提取连通分量bwlabel。
bwlabel
然后尝试为每个组件拟合一个椭圆。例如,您可以使用此工具箱。
并且您保持具有低重建误差的边缘。