isolate masks from an image that was created in a non-MATLAB program
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Fiona Senchyna
am 16 Aug. 2021
Kommentiert: Fiona Senchyna
am 17 Aug. 2021
Hello,
I am using a python program to find objects in an image. The output of the python program is an image where the original image is grayed and masks are overlayed in different colors, similar to the output of labelmatrix() and then label2rgb().
I want to read this output image into MATLAB and do further processing on the regions overlayed by color. How do I isolate these regions in MATLAB? In other words, how do I find the different colored masks?
Thanks
0 Kommentare
Akzeptierte Antwort
Yongjian Feng
am 17 Aug. 2021
Interesting. Can your python program outputs the masks only? That will be much easier for matlab to process the masks.
Then you might follow this answer:
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!