How to use index information of one image to derive the other image's values at the same index?
Ältere Kommentare anzeigen
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!
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Image Processing Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!