can you help me identify the issue in my code
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Chanille
am 6 Mär. 2023
Bearbeitet: Chanille
am 10 Mär. 2023
but its either not complete or gives an error. The errors I am getting are weird: Warning: Integer operands are required for colon operator when used as index (for the line with i = 1:numel(blobProps))
or
Error using sum
Invalid data type. First argument must be numeric or logical.
Error in mean (line 127) (but there is no mean in line 127)
y = sum(x, dim, flag) ./ mysize(x,dim);
Error in yourcode
avgFeret(zone) = mean(allFeret); please help
2 Kommentare
Akzeptierte Antwort
Image Analyst
am 7 Mär. 2023
Try using the debugger to examine the variables.
If you have any more questions, then attach your image and full code with the paperclip icon after you read this:
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Segmentation and Analysis finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!