I have an error in imshow function

Hi, I have a problem when i use imshow in matlab . i excuted imread in struction correctly but when i type imshow it will give me this error: >> imshow(a) Attempt to call constructor image with incorrect letter case. Error in basicImageDisplay (line 24) hh = image(cdata, ...
Error in imshow (line 266) hh = basicImageDisplay(fig_handle,ax_handle,...

8 Commenti

What is the result of typing
which image
on your command line?
the answer is : C:\Users\khmsan\Documents\MATLAB\image.m
Thank you I solve the problem
I have followed the path, C:\Users\khmsan\Documents\MATLAB\image.m, I could not solve the problem. Under directory Document, there is MATLAB file. It is empty. I could not solve the problem. Who can help me?
If you have an file with that name, rename it or delete it because it conflicts with the very important built-in MATLAB function of the same name.
I have an error ' error in imshow line 235' i don't know how to solve it
An error in imshow line 235 would most often be caused by not passing in any parameters to imshow .
Demyana, from R2019 on, line 235 of imshow() is a blank line. You can edit it and see:
>> edit imshow.m
What does this say
>> which -all imshow
Please start a new question.

Accedi per commentare.

 Risposta accettata

Image Analyst
Image Analyst il 21 Lug 2016

1 voto

imshow() uses image, and you overrode the built-in image function with your own image function defined in your own custom m-file.

Più risposte (3)

Geetha raja
Geetha raja il 24 Ago 2018

0 voti

Error in images.internal.basicImageDisplay (line 24) hh = image(cdata, ...
Error in imshow (line 316) hh = images.internal.basicImageDisplay(fig_handle,ax_handle,... how to solve this problem?????

1 Commento

Use
which -all image
to check to see where image() is being found. You probably are getting your own image.m or some third party image.m instead of MTLAB's image() function

Accedi per commentare.

vaibhav suryawanshi
vaibhav suryawanshi il 30 Nov 2019

0 voti

images.internal.basicImageDisplay(fig_handle,ax_handle,...
any one please suggest this error
Sagar Badjate
Sagar Badjate il 9 Mar 2021

0 voti

Error in mm (line 3)
imshow(J);

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by