How to remove the background of the images?

10 次查看(过去 30 天)
Hi,
Below are the sample images.
How to remove the background including both the surface and the shadow in the above image?
How to remove the background and only have the human in the above image?
How to remove the white textile fabric background and only have the things on the table for the above image?
For these types of background removal, do they need to be treated separately or is there an universal algo to deal with the images cleverly?
Please advise.

回答(2 个)

Rahul
Rahul 2024-11-20,10:52

Image Analyst
Image Analyst 2024-11-21,0:00
I haven't used it so, sorry -- I don't have any code for it but there is sample code in MATLAB's documentation.

Community Treasure Hunt

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

Start Hunting!

Translated by