Setting RGB values for each xy coordinate for a 3D matrix
Afficher commentaires plus anciens
I have a 3D matrix with dimensions that represent (x,y,t). Meaning for each time value, I have a 2 matrix of x and y points. lets say it is 10x10x20.
I also have 3, 3D matrices corresponding to the amount of Red, Green, and Blue for each x and y coordinate. One of the 3D matrices has the amount of red for each x,y point. So it is also 10x10x20. The same is true for green and blue.
I need to make a new 3D matrix that has all of these values combined so that I can plot each x,y plane (like :,:,1 and :,:,2 and :,:,3 etc.) and they will represent the color I had in my original matrix.
I know this is a bit confusing but any help would be much appreciated.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Convert Image Type dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!