Borrar filtros
Borrar filtros

how to extract the green channel of a rgb image

5 visualizaciones (últimos 30 días)
LAXMI PRIYANKA
LAXMI PRIYANKA el 6 de Mzo. de 2020
Comentada: DGM el 6 de Dic. de 2023
i want to extract the green channel from rgb image

Respuestas (1)

Walter Roberson
Walter Roberson el 6 de Mzo. de 2020
G = YourMatrix(:, :, 3);
  1 comentario
DGM
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);

Iniciar sesión para comentar.

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by