How convert 3d matrix to 2d matrix?

 采纳的回答

madhan ravi
madhan ravi 2018-10-17
编辑:madhan ravi 2018-10-17
An example:
A=rand(1,100,100)
reshape(A,100,100)

更多回答(2 个)

color_img=cat(3,R,G,B);
I wont to covert this image matrix to 2D image matrix pleas

1 个评论

If you want to convert that into an indexed image (with a separate colormap) see the rgb2ind function.
If that's not what you want, please describe in more detail exactly how you want this conversion to behave.

请先登录,再进行评论。

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by