UniformBicone

March 19, 2024 ยท View on GitHub

Perceptually uniform color maps

Introduction

This library contains c++ implementations of perceptually uniform color maps for ramps, cycles, disks, spheres, and balls with a python wrapper module. Ramp and cycle color maps are based on the excellent paper:

Kovesi, Peter. "Good colour maps: How to design them." arXiv:1509.03700 [cs.GR] 2015 (2015).

Disk, sphere, and ball color maps are based on:

[submitted paper](link to paper)

I was never able to get this work accepted for publication but have uploaded the draft manuscript, please consider citing this repository if you use it in a publication. If you use the work for PLM also consider Jin, Ke-Wie and De Graef, Marc. "c-Axis orientation determination of alpha-titanium using Computational Polarized Light Microscopy." Material Characterization 167 (2020)

Colormaps

Ramps
NameLegend
graygray  ramp legend
firefire  ramp legend
oceanocean ramp legend
iceice   ramp legend
divdiv   ramp legend
Cyclic
NameLegend
graygray cyclic legend
fourfour cyclic legend
sixsix  cyclic legend
divdiv  cyclic legend
Disk
NameLegendLegend (white center)
fourfour disk legendfour disk legend (white center)
sixsix  disk legendsix  disk legend (white center)

Inversion Symmetry / Periodic Boundaries

Inversion symmetry for sphere / ball maps can be achieved by either doubling the polar or azimuthal angle. Either can be applied to disk maps, but polar doubling only provides periodic boundaires for the disk, not inversion symmetry.

Polar AngleAzimuthal Angle
four disk legend polarfour disk legend azimuthal

Disk Test Singal Animation

Alternating Polar and Azimuthal Ripples