필터 지우기
필터 지우기

Problems with Reading RGB color images

조회 수: 1 (최근 30일)
Sunusi Abdullahi
Sunusi Abdullahi 2020년 3월 28일
댓글: Sunusi Abdullahi 2020년 4월 2일
Hi all, Please can anyone help me fix this error as well, I dont know how to handle the data, thank you
  댓글 수: 1
Sunusi Abdullahi
Sunusi Abdullahi 2020년 4월 2일
Thank you very much, it work perfectly as suggested Sir

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

채택된 답변

Srivardhan Gadila
Srivardhan Gadila 2020년 4월 2일
Refer to the explanation of pixelLabelIDs input argument for pixelLabelDatastore and make sure the following while loading the pixel Label images:
  1. If your pixel label images are RGB images then for the pixelLabelIDs input argument mention the RGB triplet as m-by-3 matrix where m corresponds to the number of class names. Each row contains a 3-element vector representing the RGB pixel value to associate with each class name. Vectors must be unique. Use this format for pixel label data stored as RGB images.
  2. If your pixel label images are grayscale then for the pixelLabelIDs input argument mention the m-by-1 matrix where m corresponds to the number of class names.
  댓글 수: 1
Sunusi Abdullahi
Sunusi Abdullahi 2020년 4월 2일
Okay, Thank you very much just try to fix it now

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

추가 답변 (0개)

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by