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

4 views (last 30 days)
when i extract pixel label data to path forlder i founded the images empty (black images)!!

Accepted Answer

Navya Singam
Navya Singam on 23 Nov 2022
  1 Comment
yasmin ismail
yasmin ismail on 10 Oct 2023
@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

Sign in to comment.

More Answers (0)

Categories

Find more on Image Data Workflows in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!