How to substract hand only from the input rgb images?

1 view (last 30 days)
I want to remove the background by white and only want to keep the hand palm. how to do that ? The rgb image has been attached.

Answers (2)

Image Analyst
Image Analyst on 13 Dec 2020
Try using a uniform background rather than a cluttered one if you can. It will make it a lot simpler.
You could try color segmentation to extract just skin and I attach a demo for that.
  4 Comments
Image Analyst
Image Analyst on 14 Dec 2020
I don't know. You could try. You could also try the foreground detector in the Computer Vision Toolbox. Otherwise give my skin color detector a try.

Sign in to comment.


Matt J
Matt J on 12 Dec 2020
You can use imfreehand() or Freehand() to draw the boundary of the palm interactively and then mask out everything in the background.
  4 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!