convert red channel to green

3 views (last 30 days)
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).

Accepted Answer

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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!