如何从图像中删除颗粒状细节 [英] How to remove grainy details from an image

查看:262
本文介绍了如何从图像中删除颗粒状细节的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 adapthisteq 来提高前景对象的可见性。然而,这似乎产生了颗粒状的嘈杂细节。如何从图像中删除这些颗粒状细节?我通过 imgaussfilt 尝试了高斯模糊,虽然它确实删除了一些颗粒状细节,但图像中单元格的形状变得不那么明确。第二个图像显示第一个图像的二进制图像。




解决方案

您可以使用考虑到双边滤波器等边缘信息。
取自: http://www.slideshare.net/yuhuang/fast-edge-preservingaware-high-dimensional-filters-for-image-video-processing



您可以在此处找到Matlab实现:
https://www.mathworks.com/matlabc entral / fileexchange / 12191-bilateral-filtering


I have used adapthisteq to improve the visibility of the foreground objects. However, this seems to have created grainy noisy details. How can I remove these grainy details from the image? I have tried Gaussian blurring through imgaussfilt and while it does remove some of the grainy details, the shape of the cells in the image become less defined. The second image shows the binary image of the first image.

解决方案

You can use a filter that takes into consideration the edge information like bilateral filter. https://en.wikipedia.org/wiki/Bilateral_filter The bilateral filter doesn't only weighs the value according to the distance in pixels (like a regular Gaussian blurring) but also according to the distance in color between the pixels.

taken from: http://www.slideshare.net/yuhuang/fast-edge-preservingaware-high-dimensional-filters-for-image-video-processing

An Matlab implementation you can find here: https://www.mathworks.com/matlabcentral/fileexchange/12191-bilateral-filtering

这篇关于如何从图像中删除颗粒状细节的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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