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

1 Ansicht (letzte 30 Tage)
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 Kommentar
Rik
Rik am 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.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Image Analyst
Image Analyst am 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 Kommentare
Gold
Gold am 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 am 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)).

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by