convert red channel to green

3 visualizzazioni (ultimi 30 giorni)
ahmed Khaleel
ahmed Khaleel il 29 Gen 2017
Risposto: Walter Roberson il 29 Gen 2017
is there any way to convert RGB image red-channel into green-channel for the same image I know that I can get it by using image(:,:,2).

Risposta accettata

Walter Roberson
Walter Roberson il 29 Gen 2017
TheImage(:, :, [2 1 3])
This would swap the color planes

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by