i try to convert image into polar coordinates
Ältere Kommentare anzeigen
here a code :
a=imread('1e.png');
r=imresize(a,[64 64]);
bw=im2bw(r);
[m,n]=size(bw)
m =
64
n =
64
[x,y]=meshgrid(1:n,1:m);
c = ((m+1)/2,(n+1)/2); %make center of the image to be the origin
|
Error: Expression or statement is incorrect--possibly unbalanced (, {, or [.
[theta,rho] = cart2pol(x-c,y-c);
how to fix this ? thanks
1 Kommentar
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Array Geometries and Analysis finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!