Please help, I was trying to show different graphs with different colors for the improfile, everything that I tried doesn't work, is this even possible? Thank you
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I1 = imread([pathname,filename]);
I1 = imrotate(I1,270);
figure;
I2 = imcrop(I1,[1075 174 1000 1649]);
imshow(I2)
hold on
plot([346 884], [566 566],'r-','linewidth',0.1);
plot([884 386], [783 783],'y-','linewidth',0.1);
plot([661 888], [1027 1027],'b-','linewidth',0.1);
x = [346 884];
y = [566 566];
x1 = [386 884];
y1 = [783 783];
x2 = [661 888];
y2 = [1027 1027];
figure;
hold on
improfile(I2,x,y),grid on;
improfile(I2,x1,y1);
improfile(I2,x2,y2);
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Assembly finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!