How to remove the background of the person image?

5 vues (au cours des 30 derniers jours)
Ai Nguyen
Ai Nguyen le 3 Sep 2019
I have two images, one contains the person and one is its background. The two photos were taken twice, so there was a slight deviation.
I want to remove the background of the photo that contains people, I mean, remove everything from the background photo.
Do you have any way to do this? Please guide me, because I am a beginner with Matlab. Thank you.
(all images in attached)

Réponses (1)

KALYAN ACHARJYA
KALYAN ACHARJYA le 3 Sep 2019
Modifié(e) : KALYAN ACHARJYA le 4 Sep 2019
I suppose you can do it, using K-means clustering technique. I dont have Matlab 2018b, hence unabled to test it.
See here
  2 commentaires
Ai Nguyen
Ai Nguyen le 4 Sep 2019
Thanks for your help. I have read the article and found it useful, I will try it now. I will use K-menas clustering technique on the background image to find objects and then delete those objects on the image containing people. so true?
KALYAN ACHARJYA
KALYAN ACHARJYA le 4 Sep 2019
K-means cetegories the input image to k regions only, you can extract the regions, those are required.
Good Luck!

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by