Problem regarding the input parameters for 'imrect'
2 ビュー (過去 30 日間)
古いコメントを表示
I am using the command 'imrect' in my program... The following is the example which I referred from mathworks.
figure, imshow('pout.tif');
h = imrect;
position = wait(h);
Similar to the above code, mine goes something like this:
[q,r,z]=size(s);
h = imrect;
position = wait(h);
where 's' corresponds to my image.
My problem is when I first run the code on R2007b, there was no error. But now when I run it, it asks for input parameters for imrect. Even the code given as an example is not working. Is there a problem with the code or the matlab version? Can anybody help me with this?
2 件のコメント
Geoff Hayes
2014 年 11 月 16 日
Nagaveni - please post the full error message and code that is leading to this error. I notice that you haven't called imshow(s) for your image. Have you called that code and just not copied it here?
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!