Error in calculating max(max(corrImageR)) during batch image processing after completing 1st iteration (error on 2nd image to be processed)
Ältere Kommentare anzeigen
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)));
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Big Data Processing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!