how to restore image after segmentation using watershed transform and otsu thresholding method?

1 view (last 30 days)
I have segmented the image filled with noise using the watershed transform and otsu thresholding methods, then how do I restore the image to the original image?
  1 Comment
Rik
Rik on 14 Jul 2022
I recovered the removed content from the Google cache (something which anyone can do). Editing away your question is very rude. Someone spent time reading your question, understanding your issue, figuring out the solution, and writing an answer. Now you repay that kindness by ensuring that the next person with a similar question can't benefit from this answer.
This page is now archived on the Wayback Machine.

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 9 Jul 2022
You need to save it. Don't destroy it by overwriting it with a labeled image from watershed or imbinarize. Then it will be there for you when you need it again. Otherwise if you overwrite it, there's no transforming a labeled or binary image back into a gray scale image. So that's why you need to save it and not destory it.
  6 Comments
Gold
Gold on 10 Jul 2022
I tested an image with watershed and otsu methods. then I want to compare which method is the best. For that I need to change the image from the segmentation of the two methods to the initial image. then test it using SNR. so what's the solution? Thank you
Image Analyst
Image Analyst on 10 Jul 2022
I'm sorry but that makes no sense to me. A watershed divides an image up into regions, which may have completely different intensities. Otsu thresholding finds regions brighter and darker than a certain global threshold. In general you could not use them both. They are not simply slightly different method of each other. They do completely different things. The solution depends on what you want to do or find in the image (which you're not showing us (the code or the image)).

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!