フィルターのクリア

Image Labeler - Export problem (bug?)

1 回表示 (過去 30 日間)
Kamu
Kamu 2018 年 2 月 2 日
コメント済み: Mark Toolan 2018 年 6 月 11 日
I used the Image Labeler app to define 3 ROI labels. Then, I exported the labels (Export to file - function) that also generated a new folder called ('PixelLabelData') containing PNG label files. There are two problems I found:
1. The generated .PNG labels appeared black. However, they should be pseudo-colored according to the 3 ROI labels that I defined.
2. When I export the session file in OSX and tried to import them back in WIN, the defined ROIs categories are embedded but the overlay are lost.
Any explanation for this issue? Any help is much appreciated.
  1 件のコメント
Mark Toolan
Mark Toolan 2018 年 6 月 11 日
To view the ROI's in your (black) images, use:
I = imread('PathToYourBlackImage');
figure;
Im = imagesc(I);

サインインしてコメントする。

回答 (2 件)

Nandagopalan Venugopalan
Nandagopalan Venugopalan 2018 年 4 月 25 日
Any update on this? I am facing a similar one!

Maurício Pires
Maurício Pires 2018 年 5 月 7 日
Matlab labels your three ROIs with values 1, 2 and 3. And the background is zero. So you should use imagesc in order to display the image with scaled colors. https://es.mathworks.com/help/matlab/ref/imagesc.html
>> image = imread('PixelLabelData\Label_1.png');
>> figure;
>> imagesc(image);

カテゴリ

Help Center および File ExchangeImage and Video Ground Truth Labeling についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by