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

조회 수: 4 (최근 30일)
abdullah al-dulaimi
abdullah al-dulaimi 2022년 11월 17일
댓글: yasmin ismail 2023년 10월 10일
when i extract pixel label data to path forlder i founded the images empty (black images)!!

채택된 답변

Navya Singam
Navya Singam 2022년 11월 23일
  댓글 수: 1
yasmin ismail
yasmin ismail 2023년 10월 10일
@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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Data Workflows에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by