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?

 채택된 답변

Akira Agata
Akira Agata 2020년 8월 10일

1 개 추천

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

agung pratama
agung pratama 2020년 8월 12일
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 2020년 8월 13일
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 2020년 8월 14일
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 2020년 8월 15일
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 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
Image Analyst
Image Analyst 2020년 8월 15일
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 2020년 8월 15일
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개)

질문:

2020년 8월 5일

댓글:

2020년 8월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by