How to use index information of one image to derive the other image's values at the same index?
Mostrar comentarios más antiguos
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!
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Image Processing Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!