How to display 3D image in each layer?
Ältere Kommentare anzeigen
Hi everyone,
I have an bmp image, let say it's 256x256x3 uint8 I need to show up the image in each layer :
image1 : 256x256x1
image2 : 256x256x2
image3 : 256x256x3
Could you help me guys?
thanks in advance
Akzeptierte Antwort
Weitere Antworten (1)
SK
am 7 Okt. 2017
0 Stimmen
Hello, I am new to matlab, and trying to understand the logic behind getting size of each input layer of image Grzegorz Knor can u please explain whats happening within following lines of code u mentioned r = I; r(:,:,2:3) = 0; imshow(r) figure g = I; g(:,:,[1 3]) = 0; imshow(g) figure b = I; b(:,:,1:2) = 0; thanks
Kategorien
Mehr zu Modify Image Colors finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!