![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/271317/image.jpeg)
Grainy GreyScale Image?
3 views (last 30 days)
Show older comments
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/270396/image.jpeg)
The first image is a screenshot of some data in jpeg format. I converted this into greyscale and applied medfilt2() to try to reduce noise in image 2. In Image 3 I converted all the white points to red and it shows there is alot more than I thought there would be.
I am basically trying to convert the screenshot into a graph where I can interpret the data.
Are any ways to improve the process?
Thanks
0 Comments
Accepted Answer
Rajani Mishra
on 13 Feb 2020
To remove noise from image you can try different noise removal functions in MATLAB.
You can find filtering functions here : https://www.mathworks.com/help/images/noise-removal.html
You can also try Bilateral Filtering if above functions fails to give desired results. Find its implementation here: https://www.mathworks.com/matlabcentral/fileexchange/12191-bilateral-filtering
You can consider extracting curvature of the image using bwboundaries, you can find code for the same here : https://www.mathworks.com/matlabcentral/answers/164349-how-to-calculate-the-curvature-of-a-boundaries-in-binary-images
I have tried the same code for your image, and I have attached the result after passing your image as an input. ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/271317/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/271317/image.jpeg)
Hope this helps!
0 Comments
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!