How can I solve this problem?
古いコメントを表示
Here I attached the warning problem of error. How can I solve this? My source code has been attached here.

2 件のコメント
dpb
2019 年 7 月 13 日
Use the debugger to step through and see where your logic error is in trying to access too many elements.
One possibility you may not have coded for is that your selection algorithm returned nothing owing to the input image not being able to be processed successfully with whatever algorithm you're using so that even if "Nlargest" is 1 it still fails.
A test for isempty() before you make the attempt would catch that problem.
Syed Zenith Rhyhan
2019 年 7 月 14 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Images についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
