How do I obtain the background image during foreground detection?
1 回表示 (過去 30 日間)
古いコメントを表示
Nathan Yonkee
2021 年 6 月 14 日
回答済み: Sailesh Kalyanapu
2021 年 6 月 15 日
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 件のコメント
採用された回答
Sailesh Kalyanapu
2021 年 6 月 15 日
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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Computer Vision with Simulink についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!