### Highlights from Polar Coordinates Transform

4.55556
4.6 | 10 ratings Rate this file 46 Downloads (last 30 days) File Size: 1.74 KB File ID: #16094 Version: 1.0

# Polar Coordinates Transform

### Javier Montoya (view profile)

25 Aug 2007 (Updated )

Polar Coordinates Transform

File Information
Description

This script is used to transform a given image from cartesian coordinates to polar coordinates.

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.0.4 (R14SP2)
10 Jun 2013 Claudio Coppola

### Claudio Coppola (view profile)

it's fantastic you've saved my Day!

i've modified a little the code to allow me to put a Center of coordinates, but it' has been very easy.
I Really thank you! :D

excellent.

04 Apr 2012 Boris

### Boris (view profile)

There is an issue regarding the sampling with this approach. Since the code simply samples the closest value the result is heavily undersampled in some regions (r>>), while it is oversampled in others (r<<).
It would be interesting to have a correct approach that satisfies signal processing criteria (e.g. smooth oversampled regions and grey values where undersampled black and white values come together.

15 Nov 2011 Aya Naguib

### Aya Naguib (view profile)

25 Oct 2011 Tom Lampert

15 Oct 2011 ji

### ji (view profile)

great,except the typo.

05 Jul 2011 Catherine

### Catherine (view profile)

Hi all why i couldn't plot the polar image??and the image figure keep showing non-stop

Comment only
22 Apr 2011 Gavin Tan

### Gavin Tan (view profile)

Where is the function iapolarcoord ? This function is named as imgpolarcoord and it need three input.Is the other two inputs(radius and angle) don't need to enter?

Comment only
07 Apr 2009 C. Chaya

### C. Chaya (view profile)

Hi wahab --

%pcimg=iapolarcoord(im);-' %pcimg=impolarcoord(im); are both wrong.
The name of the m-file is imgpolarcoord , so you use imgpolarcoord(im)

21 Mar 2009 wahab alaamri

### wahab alaamri (view profile)

%pcimg=iapolarcoord(im);-' it should be %pcimg=impolarcoord(im);
% fpcimg=iapolarcoord(fim);'it should be % fpcimg=impolarcoord(fim);
BOTH OF THEM DOES NOT WORK

%pcimg=iapolarcoord(im);-'

%pcimg=impolarcoord(im);

ANY ONE KNOW THE CORRECT CODE??

Comment only

13 Nov 2007 Ali Salem

It is an excellent code. I tested it.
Thank you very much, and if you have other codes please upload them!!
There is a typo in the example, at the third and fourth lines.
%pcimg=iapolarcoord(im);-' it should be %pcimg=impolarcoord(im);
% fpcimg=iapolarcoord(fim);'it should be % fpcimg=impolarcoord(fim);

13 Nov 2007 Ali Salem

It is an excellent code. I tested it.
Thank you very much, and if you have other codes please upload them!!
There is a typo in the example, at the third and fourth lines.
%pcimg=iapolarcoord(im);-' %pcimg=impolarcoord(im);
% fpcimg=iapolarcoord(fim);' % fpcimg=impolarcoord(fim);