i did as u guys said but this error pops up im sorry for asking alot but i really need help
1 ビュー (過去 30 日間)
表示 古いコメント

0 件のコメント
採用された回答
Image Analyst
2022 年 11 月 29 日
This is a perfect example of how using short, single letter variable names instead of longer more descriptive filenames can lead to unintended errors. If it had code like this:
rgbImage = imread(fullFileName);
then later on you would realize
rgbImage = imread(rgbImage); % Bad!
would not be correct since you would realize that imread() wants a string (filename), not a uint8 image array, as an input.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Find more on Matrix Indexing 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!