How to use index information of one image to derive the other image's values at the same index?
Show older comments
I have an image from dataset that shows a gesture:

This image is the result after skin color segmentation. Also, I have depth image of the same image:

What I want to do is:
-save coordinate information of all skin-alike colors of the 1st image; (discard only black color)
-save intensity values of the 2nd(depth) image that match the above coordinates and change not-matched coordinates with black.
I think it is a bit difficult for me, as a foreigner, to describe what I mean. I should get a depth image with unchanged intensity values where the coordinates of those unchanged values should be the same with the coordinates of skin-alike color coordinates from the 1st image.
If the question is comprehensive, how can I approach to this? Thank you!
Accepted Answer
More Answers (0)
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!