How to remove the background of the person image?
4 views (last 30 days)
Show older comments
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)
0 Comments
Answers (1)
KALYAN ACHARJYA
on 3 Sep 2019
Edited: KALYAN ACHARJYA
on 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 Comments
KALYAN ACHARJYA
on 4 Sep 2019
K-means cetegories the input image to k regions only, you can extract the regions, those are required.
Good Luck!
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!