how to extract the green channel of a rgb image
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
i want to extract the green channel from rgb image
0 commentaires
Réponses (1)
Walter Roberson
le 6 Mar 2020
G = YourMatrix(:, :, 3);
1 commentaire
DGM
le 6 Déc 2023
G = YourMatrix(:, :, 2); % channels are ordered R,G,B
... or to just get all three,
[R G B] = imsplit(YourMatrix);
Voir également
Catégories
En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!