如何测量图像噪声

发布于 2024-12-28 11:14:51 字数 91 浏览 1 评论 0原文

我找到了一些减少图像噪声的方法,但我的任务是测量它。

所以我对能给我一些数字、噪音等级的算法感兴趣。有了这个数字,我就可以说一张图像的噪点比其他图像少。

I've found a few ways of reducing noise from image, but my task is to measure it.

So I am interested in algorithm that will give me some number, noise rating. That with that number I will be able to say that one image has less noise than others.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

岁月流歌 2025-01-04 11:14:51

从图像处理的角度,可以参考经典论文图像质量评估:从错误可见性到结构相似性发表在IEEE Transaction on Image Processing上,根据Google Scholar,该文章已被引用3000+次。其基本思想是人类的视觉感知系统对结构相似性高度敏感。然而,噪声(或失真)常常破坏这种相似性。因此,作者试图基于这一动机提出一种客观图像质量测量方法。您可以在此处找到 MATLAB 中的实现。

From a view of image processing, you can consult the classic paper "Image quality assessment: From error visibility to structural similarity" published in IEEE Transaction on Image Processing, which has already been cited 3000+ times according to Google Scholar. The basic idea is human's visual perception system is highly sensitive to structural similarity. However, noise (or distortion) often breaks such similarity. Therefore the authors tried to propose an objective measurement for image quality based on this motivation. You can find an implementation in MATLAB here.

挽容 2025-01-04 11:14:51

为了解决我的问题,我使用了下一种方法:

我的噪声评级只是被识别为噪声的像素数。为了区分正常像素和噪声,我只计算了其相邻像素的中值,如果它的值大于某个临界值,我们就说这个是噪声。

if (ABS(1 - (currentPixel.R+currentPixel.G+currentPixel.B)/(neigborsMediumValues.R + neigboursMediumValues.G + neigboursMediumValues.B))) > criticalValue)
then
{
    currentPixelIsNoise = TRUE;
}    

To solve my problem I used next approach:

My noise rating is just number of pixels that were recognized as noise. To differentiate normal pixels from noise, I just calculated the medium value of its neighbor pixels and if its value was bigger than some critical value, we say that this one is noise.

if (ABS(1 - (currentPixel.R+currentPixel.G+currentPixel.B)/(neigborsMediumValues.R + neigboursMediumValues.G + neigboursMediumValues.B))) > criticalValue)
then
{
    currentPixelIsNoise = TRUE;
}    
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文