Assigning RGB values to a new 3D RGB image
2 ビュー (過去 30 日間)
古いコメントを表示
I am trying to apply a set of calculated RGB values as new values for a position in a m x n x 3 image. My attempt is shown in the code provided.
My error is in the line staticImage{i,j,:] = staticImage(1,j,newPixels) where i am trying to replace the layer at point i,j with the new RGB values 'newPixels'
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/237284/image.png)
Does anyone know how to do this?
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!