Adding background as class/label into existing Ground truth labels
3 views (last 30 days)
Show older comments
Hesam Rafiei on 12 Aug 2020
Answered: Rajani Mishra on 26 Aug 2020
I am generating ground truth using image labeller app and my images are from CCTV camera to detect different vehicles on the road. I have 4 classes including car,van,pedestrians,bike. I am thinking to substract background from the mentioned classes and define it as a seperate class to improve my accuracy. is there anyway to do it automatically since I have 73 images.
logically like this : background = 1-(car|pedestrians|van|bike).
Then save it all as pixel label data.
I would appreciate the help.
Rajani Mishra on 26 Aug 2020
You can refer to below link:
Also, you can use try using imsubtract function or use bsxfun function like in these links : https://www.mathworks.com/matlabcentral/answers/17732-remove-background-portion
More Answers (0)
Find more on Semantic Segmentation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!