图像处理方法C# [英] Image processing method C#

查看:112
本文介绍了图像处理方法C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我希望代码是C#.net项目,它会从网络摄像头拍摄截图,并比较从同一网络摄像头拍摄的截图。



我试图按像素比较图像但是2张图片的RGB值非常不同。然而,它们是在1秒内从相同的相机拍摄的。这就是为什么我无法比较两个图像。



我听说有一种不同的方法设备独立颜色规范方法来解决这个问题,但我不知道我该怎么做



任何人都可以帮我吗

很多很多

hi everyone,

I want code a C#.net project that it will take a screenshot from webcam and compare screenshots who taken from the same webcam.

I tried to compare images by pixel but the RGB values of 2 pictures is very different. However they are taken from same camera in 1 sec. That's why i can't compare two images.

I heard there is a different way "Device independent color specification Method" to fix this problem but i don't know how i must do it.

Can anyone help me pls
Thx a lot

推荐答案

你没有得到它。 颜色规格与它完全无关。您的图像真的不同:运动,灯光,噪点等。一秒钟巨大时间使图像在像素级别上非常困难。由于噪音,即使最近的帧(无论你的帧速率是多少)都会有很大不同。



这使得整个像素逐个比较的想法(顺便说一下,它会是什么?)几乎没用。对两个帧的任何比较分析可以仅是统计相关性或图像识别的评估,或者至少可以说是复杂的。为了进一步发展,你应该意识到你的比较概念目前还很不确定。尽量严格定义它是什么。即便这样也不容易。请先解释一下您的最终目的。



-SA
You are not getting it. "Color specification" it totally irrelevant to it. You images are really different: motion, lighting, noise, and so on. One second is huge time to make images very difficult on a pixel level. Even nearest frames (no matter what your frame rate is) will be very different due to noise.

It makes the whole idea of pixel-by-pixel "comparison" (what would it be, by the way?) nearly useless. Any comparative analysis of the two frames can be only the evaluation of statistical correlation, or image recognition, or something as complicated to say the least. To move further, you should realize that your notion of "comparison" is something quite uncertain at the moment. Try to define strictly what it is. Even this is not easy at all. Please start with explaining your ultimate purpose.

—SA


这篇关于图像处理方法C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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