how to change the color output of segmentation?
3 ビュー (過去 30 日間)
古いコメントを表示
Hello everyone!
I'm using this system : https://www.mathworks.com/help/vision/examples/semantic-segmentation-using-deep-learning.html
I changed it and made it work with hand segmantation, with only two classes, they are: hand (white) and background (black)
the problem is when using this function :
imshowpair(actual, expected)
I want the result to be like the one shown in the link,or for example like this:
but I got this:
Also, I want to ask if there is a way to show the predicted mask of the image alone? when I tried to show the 'expected' variable, all the image appeared as black.
Thank you!
2 件のコメント
Image Analyst
2019 年 11 月 29 日
What is the class of the actual and expected? RGB, grayscale, logical?
回答 (1 件)
Sourav Bairagya
2019 年 12 月 13 日
For "imshowpair" function, inputs should be grayscale/ binary/ truecolor images and for "jaccard" function, inputs sholud be binary/ label/ categorical images. Make sure the type of inputs fed to those functions are falling under these categories.
For more information follow this links:
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!