how to rotate plotted figure and how to covert plotted image as graph
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
am doing my project on graph extraction in hand written word image i want to covert plotted image as graph.
this is my plotted image i want to rotate that image and then i want convert it as graph.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/163093/image.jpeg)
please help me.
2 Kommentare
Jan
am 18 Apr. 2017
What exactly does "convert it to graph" mean? Do you want to rotate the image or the data?
Antworten (1)
KSSV
am 19 Apr. 2017
I = imread('grrp.jpg') ;
I1 = rgb2gray(I) ;
I1(I1>200) = 0 ; % convert white background to black
[x,y] = find(I1~=0) ; % get the non zeros
plot(x,y,'.r') ;
set(gca,'ydir','reverse')
set(gca,'xdir','reverse')
3 Kommentare
Siehe auch
Kategorien
Mehr zu Convert Image Type 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!