My white and black strips becomes a a black surface using imread and imshow
1 view (last 30 days)
I have a .PNG picture containing black and white strips shown below.
I was trying show this image in MATLAB using imread and imshow:
strips = imread('strip.png')
after running these two lines of code, the image becomes a black surface, shown below:
I thought maybe all the black strips were squished together and zooming could solve the problem, but it did not.
How can I show the original image?