通过 AForge.NET 库进行 X 射线打印识别
我有一个关于图像识别的非常具体的问题。我必须编写一个工具来识别 X 射线打印上的物体,并根据当前的 X 射线拍摄计算一些数据。所以任务基本上是减少图像上的颜色,然后通过颜色和颜色来识别相似的颜色。距离设定好,那么我需要进行计算。
我从未使用过图像识别,因此我想询问如何将调色板减少到固定颜色量的有效算法。估计时间挺短的,所以我基本上没有太多的时间去研究应对的办法。我找到了 AForge .NET 库,但仍然无法显着减少图像颜色。 (也许我只是不知道该使用哪个过滤器)。任何用于该任务的库或算法将不胜感激。
提前致谢。
I have quite an specific question about image recognition. I have to write a tool which recognizes objects on x-ray print, and calculates some data based on current x-ray shot. So the task basically is to reduce colors on image, then to recognize the similar by color & distance set, then I need to process the calculation.
I've never worked with an image recognition, so I wanted to ask about efficient algorithms for reducing the color palette to fixed colors amount. Estimate is quite a short one, so I basically do not have too much time for investigating the ways to deal with it. I've found AForge .NET library but still I can't reduce image colors significantly. (maybe I just don't know which filter to use). Any libraries or algorithms for the task would be appreciated.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为您只需要使用整数部分或任何其他斩波函数来重新调整颜色值。
Mathematica 中的示例:
I think you only need to rescale your color values using
integer part
or any other chopping function.Example in Mathematica: