How do I obtain the background image during foreground detection?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Nathan Yonkee
il 14 Giu 2021
Risposto: Sailesh Kalyanapu
il 15 Giu 2021
I am using the vision.ForegroundDetector to produce a foreground mask. However, I would also like to have the background image as integer/floating point values to use as well. Is there a way to obtain the background image in addition to the boolean mask?
0 Commenti
Risposta accettata
Sailesh Kalyanapu
il 15 Giu 2021
Hi,
Given, the background image pixels are represented as zeroes in the output of vision.ForegroundDetector, you can get the RGB or grayscale intensities corresponding to the background from a given image frame loaded in MATLAB. You can refer this as a hint on how to do that.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Computer Vision with Simulink in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!