How to remove the background of the person image?

5 Ansichten (letzte 30 Tage)
Ai Nguyen
Ai Nguyen am 3 Sep. 2019
Kommentiert: KALYAN ACHARJYA am 4 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)

Antworten (1)

KALYAN ACHARJYA
KALYAN ACHARJYA am 3 Sep. 2019
Bearbeitet: KALYAN ACHARJYA am 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 Kommentare
Ai Nguyen
Ai Nguyen am 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 am 4 Sep. 2019
K-means cetegories the input image to k regions only, you can extract the regions, those are required.
Good Luck!

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by