How to remove the background of the images?

10 views (last 30 days)
Salad Box
Salad Box on 11 Mar 2021
Answered: Image Analyst on 21 Nov 2024 at 0:00
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.

Answers (2)

Rahul
Rahul on 20 Nov 2024 at 10:52

Image Analyst
Image Analyst on 21 Nov 2024 at 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!