How to fix error: Error using logical Conversion to logical from table is not possible?
Mostrar comentarios más antiguos
I I used pixel label from image labeler App.There is a menu 'Export Labels > To workSpace' in the Image Labeler App and it exports a table format called gTruth as shown in attached , I got an error when I used it in similarity evaluation as following
A = logical(imread('7001-236.png'));
BW_groundTruth =logical(gTruth);
similarity = jaccard(squeeze(A(:,:,1)), BW_groundTruth)
Error using logical
Conversion to logical from table is not possible.
Error in Untitled_ask (line 5)
BW_groundTruth =logical(gTruth)
how to fix it?
2 comentarios
The error clearly states what the problem is.
load('matlab.mat')
gTruth
How are you going to take logical values of text?
yasmin ismail
el 11 de Oct. de 2023
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Computer Vision Toolbox 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!