examples of imshow function in matlab
All Contributions
Read a sample RGB image, peppers.png
, into the MATLAB workspace.
rgbImage = imread("peppers.png");
%Display the RGB image using imshow
imshow(rgbImage);
the result
total contributions (4)
Convert the RGB image to a grayscale image by using the
rgb2gray
function. and display gray Imagethe result