how to extract the green channel of a rgb image
5 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
Kategorien
Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!