wlenthe / UniformBicone

perceptually uniform colormaps for the unit disk, sphere, and ball
3 stars 2 forks source link

UniformBicone

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
Name Legend
gray gray  ramp legend
fire fire  ramp legend
ocean ocean ramp legend
ice ice   ramp legend
div div   ramp legend
Cyclic
Name Legend
gray gray cyclic legend
four four cyclic legend
six six  cyclic legend
div div  cyclic legend
Disk
Name Legend Legend (white center)
four four disk legend four disk legend (white center)
six six  disk legend six  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 Angle Azimuthal Angle
four disk legend polar four disk legend azimuthal

Disk Test Singal Animation

Alternating Polar and Azimuthal Ripples