File Exchange

image thumbnail

cart2tripolar

version 1.0.0.2 (937 KB) by Natan
Create a compact polar from Cartesian array with equal information per pixel

1 Download

Updated 14 Jun 2019

GitHub view license on GitHub

The code starts with a Cartesian image of square pixel size dx*dy=1, and outputs a polar image of polar pixels that has a similar amount of information in polar coordinates dr*dtheta~=1. The signal in each polar pixel is determined via its fractional overlap with the four surrounding Cartesian pixels. The result is a triangular polar representation,
as the number of polar pixels per radius per angle increase with radius, i.e. the larger the radius the higher the angular resolution. The code was originally used in the context of analyzing images with symmetry around a quadrant so that functionality was kept. The code support NaN valued pixels for masking

Cite As

Natan (2019). cart2tripolar (https://www.github.com/adinatan/cart2tripolar), GitHub. Retrieved .

Comments and Ratings (0)

Updates

1.0.0.2

-

1.0.0.1

added documentation

1.0.0.0

minor bug fix

1.0.0.0

minor bug fix

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: PolarOnionPeeling