image thumbnail

cart2tripolar

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

37 Downloads

Updated 27 May 2021

From 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 (2021). cart2tripolar (https://github.com/adinatan/cart2tripolar), GitHub. Retrieved .

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

Inspired by: PolarOnionPeeling

Community Treasure Hunt

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

Start Hunting!
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.