セマンティックセグメンテーション用のピクセルラベルデータの順番
Afficher commentaires plus anciens
italic イメージラベラーでラベル付けしたラベルデータは、pngまたはgTruth.matのファイルとしてエクスポートされます。これをpxdsに指定し、順番に表示させるとします。例えば、以下のコードです
pxds = pixelLabelDatastore(labelDir,classes,labelIDs);
NumDataSet = 10;
check = true;
if check
for i = 1:NumDataSet
I = readimage(imds,i);
I = imresize(I,0.5);
C = readimage(pxds,i);
C = imresize(uint8(C),0.5);
B = labeloverlay(I,C);
figure
imshow(B)
end
end
このとき、表示されるラベルデータの順番の規則性が分かりません。イメージラベラーで読み込んだ画像の順に対応すると思ったのですが、そうではありませんでした。pxdsの1番、2番、3番、、、という順番はどのように決まっているのでしょうか。これがわからないと適切な学習データで学習させられません。
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur セマンティック セグメンテーション dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!