From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: convert to polar coordinate
Date: Thu, 20 May 2010 15:45:19 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 14
Message-ID: <ht3lef$jt6$>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1274370319 20390 (20 May 2010 15:45:19 GMT)
NNTP-Posting-Date: Thu, 20 May 2010 15:45:19 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2042085
Xref: comp.soft-sys.matlab:637650

I want to make sure if my way is correct to convert my image to polar coordinate or not,
If not please tell me the correct way.

img= imresize(img, [500 500]);
% find the Cartesian coordinate 
% convert from Cartesian to polar
[theta,radius]=cart2pol(x,y); %The arrays X and Y must be the same size that why I use imresize

1- but how I know the best size for all my images to resize them??
2- how can I get the polar image as a matrix from [theta,radius] because I want use the image after get its polar coordinate?