How convert 3d matrix to 2d matrix?
Mostra commenti meno recenti
I wont to covert 1x100x100 matrix to 100x100.
Risposta accettata
Più risposte (2)
Luna
il 17 Ott 2018
1 voto
Hi Ivan
Take a look at reshape function it may help you.
1 Commento
Ivan Leonov
il 17 Ott 2018
Kawther Hassan Al-khafaji
il 5 Ott 2022
0 voti
color_img=cat(3,R,G,B);
I wont to covert this image matrix to 2D image matrix pleas
1 Commento
Steven Lord
il 5 Ott 2022
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.
Categorie
Scopri di più su Image Type Conversion in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!