Remove noise from image
显示 更早的评论
I have this image and when I'm trying to generate it into the 3D surface it appears some noises in the graph.
Can anyone help me with some noise removal suggestion?
采纳的回答
How about applying median filter?
The following is an example:
% Read the image and convert it to grya-scale
I = imread('gray.png');
Igray = rgb2gray(I);
% Apply median filter to the image
Igray2 = medfilt2(Igray,[7 7]);
% Show the result
figure
imshowpair(Igray,Igray2,'montage')

7 个评论
Thanks Mr Akira Agata,
Can you explain to me about medfilt and what is [ 7 7 ] standfor?
I'm a newbie in matlab.
It represents the size of the median filter.
When setting [n m], medfilt calculates median value in the m-by-n neighborhood around the corresponding pixel in the input image.
For more details, please reffer to the documentation page.
FYI:
In addition, you can find some other noise removal techniques in the documentation page.
I get this when i create the 3D surface of the image

How i can get the x,y,z value in mm?
To obtain the x,y,z value in mm, we need to know "pixels per mm" value for x,y,z.
So, if possible, could you provide these values?
agung pratama
2020-8-15
编辑:agung pratama
2020-8-15
Im using a 270 ppi and 48 mp camera but i cut the original image, does it matter? this the image properties

That's not enough. That gives you the field of view in pixels, but not in microns or mm. By the way, a 1154 x 1152 image is 1.3 megapixels, far from 48 megapixels - not even close.
I search from some paper about fringe pattern they using fast fourier transform and get the value of x,y,z axis in mm
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Image Category Classification 的更多信息
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
