Editing a binary image mask based on original image
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
S_run
am 30 Sep. 2020
Kommentiert: Image Analyst
am 3 Okt. 2020
I am running code that generates a binary mask based on an object in the image. When I overlay the boundary onto the raw image, I notice that while it is largely accurate, there are still some parts that are not correct. Is there a way where I can overlay the mask onto the raw image, similar to how image Segmenter does it, and then edit the mask? For example, erase some parts of it or add to the mask? Please let me know. Thank you!
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 1 Okt. 2020
You can use imoverlay() to superimpose your initial segmentation over the original image. Then outline or paint your corrections on that and convert it back to a binary image.
2 Kommentare
Image Analyst
am 3 Okt. 2020
Try drawfreehand() or drawpoint() or whatever they're called. There is a whole family of draw*() functions.
Weitere Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!