how to solve the resizing of an image here?
2 ビュー (過去 30 日間)
古いコメントを表示
////Unable to perform assignment because the size of the left side is 600-by-3008 and the size of the right side is 600-by-600-by-3////
filename='1.jpg';
A = importdata(filename);
image(A);
imshow(A);
bwarea(A);
2 件のコメント
回答 (1 件)
Image Analyst
2019 年 4 月 15 日
Try this:
filename='1.jpg';
A = imread(filename); % Use imread() instead of importdata().
but your bwarea() call doesn't do anything.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!