如何检查照片质量?
可能的重复:
如何检查图片质量在使用c#的程序中?
我可以使用c#检查照片中是否添加了噪点吗?
Possible Duplicate:
How can I check out the picture quality in program using c#?
Can I check whether noise is added to a photograph using c#?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
基本上,要检测噪声,我认为您要做的就是找到与其他像素不连续(颜色或亮度)的像素。
在任何给定的照片中,有效像素很可能在颜色或强度上与其周围的一个或多个像素相关(相似)。噪点与其周围任何其他像素的颜色不同(或相似);它与所有周围的像素不连续。
如果一个像素与周围像素的颜色相似或相同,那么它可能不是噪声,而且看起来也不会像噪声;它看起来像图片的一部分..
Basically, to detect noise what I think you are going to want to do is find pixels that are discontinuous (in color or brightness) from other pixels.
In any given photograph, a valid pixel is highly likely to be correlated (similar) in color or intensity to one or more pixels around it. Noise is not the same (or similar) color as any other pixel around it; it is discontinuous from all surrounding pixels.
If a pixel is similar or identical in color to surrounding pixels, it is probably not noise, and it's not going to look like noise; it's going to look like part of the picture..