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?

 Risposta accettata

Akira Agata
Akira Agata il 10 Ago 2020
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 Commenti

agung pratama
agung pratama il 12 Ago 2020
Thanks Mr Akira Agata,
Can you explain to me about medfilt and what is [ 7 7 ] standfor?
I'm a newbie in matlab.
Akira Agata
Akira Agata il 13 Ago 2020
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.
agung pratama
agung pratama il 14 Ago 2020
I get this when i create the 3D surface of the image
How i can get the x,y,z value in mm?
Akira Agata
Akira Agata il 15 Ago 2020
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
agung pratama il 15 Ago 2020
Modificato: agung pratama il 15 Ago 2020
Im using a 270 ppi and 48 mp camera but i cut the original image, does it matter? this the image properties
Image Analyst
Image Analyst il 15 Ago 2020
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.
agung pratama
agung pratama il 15 Ago 2020
I search from some paper about fringe pattern they using fast fourier transform and get the value of x,y,z axis in mm

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by