No BSD License  

4.55556

4.6 | 10 ratings Rate this file 74 Downloads (last 30 days) File Size: 1.74 KB File ID: #16094
image thumbnail

Polar Coordinates Transform

by

 

25 Aug 2007 (Updated )

Polar Coordinates Transform

| Watch this File

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)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (13)
10 Jun 2013 Claudio Coppola

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

13 Nov 2012 Arkadi

excellent.

04 Apr 2012 Boris

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  
25 Oct 2011 Tom Lampert  
15 Oct 2011 ji

great,except the typo.

05 Jul 2011 Catherine

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

22 Apr 2011 Gavin Tan

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?

07 Apr 2009 C. Chaya

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

%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??

20 Oct 2008 sarhat adam

no comments

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);

Contact us