How convert 3d matrix to 2d matrix?
显示 更早的评论
采纳的回答
更多回答(2 个)
Kawther Hassan Al-khafaji
2022-10-5
0 个投票
color_img=cat(3,R,G,B);
I wont to covert this image matrix to 2D image matrix pleas
1 个评论
Steven Lord
2022-10-5
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Image Type Conversion 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!