how to rotate plotted figure and how to covert plotted image as graph

조회 수: 1 (최근 30일)
DEEPAK P
DEEPAK P 2017년 4월 18일
댓글: DEEPAK P 2017년 4월 26일
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.
please help me.
  댓글 수: 2
Jan
Jan 2017년 4월 18일
What exactly does "convert it to graph" mean? Do you want to rotate the image or the data?
DEEPAK P
DEEPAK P 2017년 4월 19일
i want to convert the plotted figure as graph. because i doing my project on graph matching in hand written word image.

댓글을 달려면 로그인하십시오.

답변 (1개)

KSSV
KSSV 2017년 4월 19일
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
KSSV
KSSV 2017년 4월 19일
Yes..I have taken your attached image in the above code.
DEEPAK P
DEEPAK P 2017년 4월 26일
sir i want to rotate the when its plotting

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by