how to extract the green channel of a rgb image
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
i want to extract the green channel from rgb image
0 Kommentare
Antworten (1)
Walter Roberson
am 6 Mär. 2020
G = YourMatrix(:, :, 3);
1 Kommentar
DGM
am 6 Dez. 2023
G = YourMatrix(:, :, 2); % channels are ordered R,G,B
... or to just get all three,
[R G B] = imsplit(YourMatrix);
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!