How can I solve this problem?
Mostrar comentarios más antiguos
Here I attached the warning problem of error. How can I solve this? My source code has been attached here.

2 comentarios
dpb
el 13 de Jul. de 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
el 14 de Jul. de 2019
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Image Processing and Computer Vision en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
