Extracting background/foreground of an image

4 ビュー (過去 30 日間)
Tony Rochelle
Tony Rochelle 2020 年 6 月 20 日
コメント済み: Image Analyst 2020 年 7 月 1 日
Hey Guys, I am currently starting to get into matlab and want to experiment with some images. So basiccaly I load two images (the same, but different angle) and I want to extract their background or foreground. So basically if I detect a human in the foreground, it should „extract“ him. (The goal in the end, is to place the extracted foreground on a different background) But how do I find this human in the background. Should I do some correspondence calculation with harris detector or something like that? Should I transform the images into grayscale? What is the best way to calculate this mask to extract the features of an foreground/background. Is there a way without using some toolboxes? If not, what kind of toolboxes would help. Thank you very much Guys !!

採用された回答

Image Analyst
Image Analyst 2020 年 6 月 20 日
If your background is static, then you can get one with no humans and subtract it from the test image and look for differences.
  4 件のコメント
Tony Rochelle
Tony Rochelle 2020 年 6 月 20 日
Okay thank you, when subtracting the image, how can I get the mask. Is the mask the difference of these images? And how do I place this extracted foreground into another background?
Image Analyst
Image Analyst 2020 年 7 月 1 日
I believe I answered that in another question of yours.

サインインしてコメントする。

その他の回答 (0 件)

製品


リリース

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by