Need help in analyzing image planes
Mostra commenti meno recenti
% CODE 1
% Read RGB image
x = imread('Lena.jpg');
rPlane = x(:,:,1);
imshow(rPlane) % Displays Red Plane in Lena.jpg image
%%%%%
% CODE 2
y = imread('Lena.jpg');
y(:,:,2) = 0;
y(:,:,3) = 0;
imshow(y);
% I need to know about this displayed
% image 'y' with 'G' and 'B' planes all zeros
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Red in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!