Azzera filtri
Azzera filtri

how to extract the green channel of a rgb image

5 visualizzazioni (ultimi 30 giorni)
LAXMI PRIYANKA
LAXMI PRIYANKA il 6 Mar 2020
Commentato: DGM il 6 Dic 2023
i want to extract the green channel from rgb image

Risposte (1)

Walter Roberson
Walter Roberson il 6 Mar 2020
G = YourMatrix(:, :, 3);
  1 Commento
DGM
DGM il 6 Dic 2023
G = YourMatrix(:, :, 2); % channels are ordered R,G,B
... or to just get all three,
[R G B] = imsplit(YourMatrix);

Accedi per commentare.

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by