如何在图像中找到圆弧的弧长 [英] How to find the arc length of an arc in an image

查看:214
本文介绍了如何在图像中找到圆弧的弧长的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个实心圆弧的图像。我的意思是一个位源图像。弧线以绿色开始,经过不同的颜色,360度端为红色。就像车辆的仪表控制台一样。背景色为白色,我想知道电弧长度或通过在centre.Any clarrification弧所对的角度为entertainde.Thanks预先

解决方案
你需要明白你的形象没有真正的圆圈 - 这是你的人类解释/感知。解释图像的内容并非易事 - 想象一下创建自己的OCR包。



现在 - 如果你有办法(并且值得付出努力),你可以通过检查像素来查找圆的边缘 - 如果您可以确定真正定义圆的边缘的特征。正如您可能想象的那样,没有简单的通用解决方案。



您的主要希望是找到一些能够识别图像边缘的模式识别软件。 />



I have an image of a solid arc.I mean a bitmapsource image .The arc starts in green colour and it goes through different colurs and the 360 degree end is red in colour.Just like the metre console of a vehicle.The background colour is white and i want to know the arc length or the angle subtended by the arc at centre.Any clarrification is entertainde.Thanks in advance

解决方案

You need to understand that your image has no true circle - this is your human interpretation/perception. Interpreting the contents of an image is no easy matter - imagine creating your own OCR package.

Now - if you have the means (and it's worth the effort), you can look for the circle's edges by examining the pixels - if you can determine a characteristic that truly defines the circle's edge. As you might imagine, there's no easy general solution.

Your primary hope would be to locate some pattern-recognition software that would recognize the edges in your image.


这篇关于如何在图像中找到圆弧的弧长的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆