How can I solve this problem?
Afficher commentaires plus anciens
Here I attached the warning problem of error. How can I solve this? My source code has been attached here.

2 commentaires
dpb
le 13 Juil 2019
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
le 14 Juil 2019
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Image Processing and Computer Vision dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
