how to extract the green channel of a rgb image
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
i want to extract the green channel from rgb image
0 comentarios
Respuestas (1)
Walter Roberson
el 6 de Mzo. de 2020
G = YourMatrix(:, :, 3);
1 comentario
DGM
el 6 de Dic. de 2023
G = YourMatrix(:, :, 2); % channels are ordered R,G,B
... or to just get all three,
[R G B] = imsplit(YourMatrix);
Ver también
Categorías
Más información sobre Image Processing Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!