I need a white 256×256 pixels image to use it in an assignment. I tried to make it using Paint and downloaded white images from the internet, but for some reason when I read the image, it stored in a 256x256x3 variable (color image format). I tried different extensions (jpg, png).
What is the reason? I attached the images I used and here is the code to read the image.
img = double(imread('white.jpg'));[l,w] = size(img);figureimshow(uint8(img)) % display the test image
title('Original image')
Best Answer