フィルターのクリア

Issue related to imshow command

2 ビュー (過去 30 日間)
rohan gupta
rohan gupta 2014 年 11 月 9 日
コメント済み: rohan gupta 2014 年 11 月 9 日
I am using 'imshow' command in my code. Till yesterday my code was running properly, but from today i am getting error as shown below * * *
"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,...
Error in Untitled2 (line 19)
imshow(thisFrame);* *
* "
  2 件のコメント
Geoff Hayes
Geoff Hayes 2014 年 11 月 9 日
Rohan - have you created a class that is named image or Image?
rohan gupta
rohan gupta 2014 年 11 月 9 日
No i have not created any such class.

サインインしてコメントする。

採用された回答

Image Analyst
Image Analyst 2014 年 11 月 9 日
Do this on the command line
which -all image
and tell us what it says. You should see this:
>> which -all image
built-in (C:\Program Files\MATLAB\R2014b\toolbox\matlab\specgraph\image)
  3 件のコメント
Guillaume
Guillaume 2014 年 11 月 9 日
編集済み: Guillaume 2014 年 11 月 9 日
Well, there is your problem. matlab's built-in function image.m is shadowed by your C:\Users\Admin\Documents\MATLAB\image.m
Rename that function to something else that is not the name of a matlab built-in function and you'll be fine.
Do not use image as a name for anything.
rohan gupta
rohan gupta 2014 年 11 月 9 日
thanks, I got it. I have used 'image' as the name of one of the file name.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by