Error in calculating max(max(corrImageR)) during batch image processing after completing 1st iteration (error on 2nd image to be processed)
Afficher commentaires plus anciens
I'm batch processing images. The algorithm involved the included line of code. The first image processes successfully, but on the 2nd image the following error is given. Note, even when not processing in batches, if an image is processed, and then the code is ran again without clearing variables, clear all, the same error is given.
Subscript indices must either be real positive integers or logicals.
Error in batchExudateAnalysisDR (line 30) [maxIdxR,maxIdyR] = find(corrImageR == max(max(corrImageR)));
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Image Processing Toolbox 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!