rectImage2Polar

Version 1.0.0.0 (1.03 KB) by Eric
plots an image with polar coordinates
103 Downloads
Updated 6 Jan 2016

View License

Code taken from Max's answer to this question on Stack Overflow. http://stackoverflow.com/questions/12924598/examples-to-convert-image-to-polar-coordinates-do-it-explicitly-want-a-slick-m
Description:
This function takes an input image of any dimension and outputs the image in polar coordinate representation.
Input:
rectImage2Polar(image) image can be any RGB array.

Output:
[imagesPolar,imagesPolarCropped] imagesPolar maintains the full resolution of the polar image and leaves a white background to fill the image to a square. images PolarCropped crops the image so no background filling is needed.

Cite As

Eric (2024). rectImage2Polar (https://www.mathworks.com/matlabcentral/fileexchange/54769-rectimage2polar), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Polar Plots in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0