Why i get empty (black image) when extract the pixel label data

 Akzeptierte Antwort

Navya Singam
Navya Singam am 23 Nov. 2022

0 Stimmen

1 Kommentar

@Navya Singam I used you the link above, it helped to show the label images but how to use it to find jaccrad index , the labeled image already black and gives low jaccard index as shown in attached images and following code:
A = logical(imread('7001-236.png'));
BW_groundTruth =logical(imread('Label_1.png'));
similarity = jaccard(A(:,:,1), BW_groundTruth)
similarity =
0.0925

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Image Processing and Computer Vision 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!

Translated by