Error in Reading BMP image

10 views (last 30 days)
Wei Shan Tan
Wei Shan Tan on 24 Jun 2020
Commented: Image Analyst on 24 Jun 2020
Hello,
I need to read a bmp file on matlab and I used the IMREAD function. However, I cannot seem to read it and the error message reads Invalid Size. I am not too sure how to deal with this. I have also made sure that the image is in the correct path/folder. Can anyone help me?
The following is what I wrote in Matlab. Am I writing anything wrong?
[A]=imread('030-10ul-01.bmp')

Answers (1)

Gaganjyoti Baishya
Gaganjyoti Baishya on 24 Jun 2020
  1 Comment
Image Analyst
Image Analyst on 24 Jun 2020
He said that he has r2019b (see left of this page).
Wei, you forgot to attach the image file, so we can't do much other than refer you to tech support.

Sign in to comment.

Categories

Find more on Simulink Environment Customization in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!