how to solve the resizing of an image here?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
////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 Kommentare
Antworten (1)
Image Analyst
am 15 Apr. 2019
Try this:
filename='1.jpg';
A = imread(filename); % Use imread() instead of importdata().
but your bwarea() call doesn't do anything.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Data Type Conversion finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!