error in imshow

2 次查看(过去 30 天)
Amishi
Amishi 2012-5-16
I get the following error when i tried to used imshow.
Previously it was working. I tried with other system its working. I tried with different images too. but only with my system it shows this error.
A = imread('rone.bmp');
figure;
imshow(A)
??? Attempt to call constructor image with incorrect letter case.
Error in ==> basicImageDisplay at 9
hh = image(xdata,ydata,cdata, ...
Error in ==> imshow at 246
hh = basicImageDisplay(fig_handle,ax_handle,...
can i know is there a problem with matlab?? Do i need to reinstall?
  2 个评论
Andreas Goser
Andreas Goser 2012-5-16
This is not a problem I could find in the database. Does this happen with all image files or just with this one? In any case, this looks like a good reason to contact Technical Support
Amishi
Amishi 2012-5-16
This happens only with my laptop and with all images. In another PC with same images it works.

请先登录,再进行评论。

采纳的回答

Walter Roberson
Walter Roberson 2012-5-16
  7 个评论
Image Analyst
Image Analyst 2016-11-20
Start your own question and tell us what the variables are and show us the entire error message ( ALL the red text), not just part of it.
Ayushi Bapna
Ayushi Bapna 2018-9-5
Error in images.internal.basicImageDisplay (line 24) hh = image(cdata, ...
Error in imshow (line 320) hh = images.internal.basicImageDisplay(fig_handle,ax_handle,...

请先登录,再进行评论。

更多回答(2 个)

Jan
Jan 2012-5-16
Did you create an object called "Image"? What does "which image -all" reply?
  3 个评论
Image Analyst
Image Analyst 2014-2-26
You need a space between "image" and "-all" like Jan showed. You did not put a space.
Akshay Datar
Akshay Datar 2016-7-14
Thank u so much. I stuck at that error since last hour and now its working.

请先登录,再进行评论。


Ella
Ella 2015-7-20
Can you please provide the solution steps ? Im getting the same error previously it was working fine and now doesnt work on my laptop anymore
Thanks for your reply in advance

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by