Need help in analyzing image planes
Mostrar comentarios más antiguos
% 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
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Red en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!