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 comentarios

Adam
Adam el 21 de Jul. de 2016
What is the result of typing
which image
on your command line?
Jumana Pearl
Jumana Pearl el 21 de Jul. de 2016
the answer is : C:\Users\khmsan\Documents\MATLAB\image.m
Jumana Pearl
Jumana Pearl el 21 de Jul. de 2016
Thank you I solve the problem
Belay Goshu
Belay Goshu el 24 de Mayo de 2018
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?
Image Analyst
Image Analyst el 24 de Mayo de 2018
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.
Demyana emil
Demyana emil el 4 de En. de 2021
I have an error ' error in imshow line 235' i don't know how to solve it
Walter Roberson
Walter Roberson el 5 de En. de 2021
An error in imshow line 235 would most often be caused by not passing in any parameters to imshow .
Image Analyst
Image Analyst el 5 de En. de 2021
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.

Iniciar sesión para comentar.

 Respuesta aceptada

Image Analyst
Image Analyst el 21 de Jul. de 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.

Más respuestas (4)

Geetha raja
Geetha raja el 24 de Ag. de 2018

0 votos

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 comentario

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

Iniciar sesión para comentar.

vaibhav suryawanshi
vaibhav suryawanshi el 30 de Nov. de 2019

0 votos

images.internal.basicImageDisplay(fig_handle,ax_handle,...
any one please suggest this error
Sagar Badjate
Sagar Badjate el 9 de Mzo. de 2021

0 votos

Error in mm (line 3)
imshow(J);
Elnaz
Elnaz el 20 de Jul. de 2026 a las 11:31
Editada: Elnaz el 20 de Jul. de 2026 a las 11:31

0 votos

Hi,
How can i solve this problem? I am using MATLAB for image processing.
Error in imageprocessingUlusarslan2005 (line 22)
imshow(enhanced_img);
Best Regards,

2 comentarios

Walter Roberson
Walter Roberson el 20 de Jul. de 2026 a las 18:36
Please show the complete error message.
Image Analyst
Image Analyst el 22 de Jul. de 2026 a las 3:40
And attach imageprocessingUlusarslan2005.m so we can see the code.

Iniciar sesión para comentar.

Categorías

Más información sobre Image Processing Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 21 de Jul. de 2016

Comentada:

el 22 de Jul. de 2026 a las 3:40

Community Treasure Hunt

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

Start Hunting!

Translated by