image processing toolbox:imshow problem
古いコメントを表示
hi .. i have a problem with Image Processing Toolbox , i appreciate you help , if you can help me i want to an image with MATLAB 7.7.0(R2008b) "imread" work correctely but when i use "imshow" i always get the same error :
??? Attempt to call constructor image with incorrect letter case.
Error in ==> basicImageDisplay at 9
hh = image(xdata,ydata,cdata, ...
Error in ==> imshow at 249
hh = basicImageDisplay(fig_handle,ax_handle,...
please help me
回答 (2 件)
Sean de Wolski
2013 年 2 月 14 日
What is the output of:
which -all image
My guess is this will give you a major hint.
If it doesn't, how are you calling imshow()?
5 件のコメント
Sean de Wolski
2013 年 2 月 14 日
移動済み: DGM
2023 年 12 月 29 日
So that's the problem.
C:\Users\hp\Documents\MATLAB\image.m
Is shadowing the builtin image. So change the name of that file to something else.
Sean de Wolski
2013 年 2 月 14 日
移動済み: DGM
2023 年 12 月 29 日
rerun:
which -all image
There should be just one result:
Image Analyst
2013 年 2 月 14 日
移動済み: DGM
2023 年 12 月 29 日
What do you mean "try" to rename? Were you able to rename it or not?
Image Analyst
2013 年 2 月 14 日
0 投票
Apparently you have your own custom version of image() in C:\Users\hp\Documents\MATLAB\image.m. Why do you have this? If you don't know why, then delete it or rename it image_custom.m. Then try imshow again.
カテゴリ
ヘルプ センター および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!