insertTextのエラーに関しまして
4 views (last 30 days)
Show older comments
お世話になります。
上記動画のサンプルを自分のPCで動作させたのですが、下記のようなメッセージが出て、画像へのテキストのインサートができません。
関数 'insertText' (タイプ'uint8' の入力引数) が未定義です。
RGB = insertText(RGB,[20, 1],['Count:' num2str(num)],'TextColor','white', 'FontSize',24);
何が間違っているのかわからず困っております。
初歩的なことで大変恐縮ですが、
可能でしたらご指導いただけますでしょうか?
どうぞよろしくお願いいたします。
0 Comments
Answers (1)
Yoshio
on 26 Aug 2019
まず以下のコマンドでinsertText関数が利用可能になっているか調べてみてください。
which insertText
次に、whosコマンドで変数を調べて見て、RGBやnumに数値が正しく入力されているか確認しましょう。
whos
0 Comments
See Also
Categories
Find more on モルフォロジー演算 in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!