cellからunit8への変換

上の例を実行したところCamVid データのリサイズのところで画像のようなエラーが発生しました.このエラーの対処法を教えてください
無題.png

 Accepted Answer

Naoya
Naoya on 5 Dec 2019

3 votes

ご覧頂いているToolbox の例題は R2018a 用の様ですが、
最新バージョンである R2019b をご利用頂いているようでしたら、
該当の resizeCamVidPixelLabels.m の 19行目は、
L = uint8(C);
ではなく、
L = uint8(C{1});
と変更されております。
一度、上記のように変更頂いて症状が改善されるかご確認できますでしょうか?

3 Comments

Kodai Sato
Kodai Sato on 6 Dec 2019
解決しましたありがとうございました
Tony Kanamori
Tony Kanamori on 8 Mar 2020
私もまったく同じ質問しようとしていました。ご質問、ご回答、感謝です。
Tony Kanamori
Tony Kanamori on 8 Mar 2020
Medical Image Segmentation Using SegNet
ここで提供されているソースにも同じ内容が含まれているので、同じ対応で良いということですね。
ありがとうございます。

Sign in to comment.

More Answers (0)

Products

Release

R2019b

Tags

Community Treasure Hunt

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

Start Hunting!