Skip to content
Projects

garyptchoi/spherical-conformal-map

View on GitHub

garyptchoi/spherical-conformal-map has 53 GitHub stars and 9 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-15 16:30 UTC. Last push 2024-02-27.

How these counts are measured

Measured star growth

in 24h
0
in 7 days
Update delayed
in 15 days
Update delayed
in 1 month
Update delayed

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

About

Spherical conformal map for genus-0 closed surfaces

Creative & Media

README.md

Original

Spherical Conformal Map

spherical_conformal_map: Conformally map a genus-0 closed triangle mesh to the unit sphere

This code computes spherical conformal (i.e. angle-preserving) maps of genus-0 closed triangle meshes using the linear method in [1], which has been applied for human brain mapping, texture mapping, surface registration, cardiac mapping and so on.

Any comments and suggestions are welcome.

If you use this code in your own work, please cite the following papers:

[1] P. T. Choi, K. C. Lam, and L. M. Lui, "FLASH: Fast Landmark Aligned Spherical Harmonic Parameterization for Genus-0 Closed Brain Surfaces." SIAM Journal on Imaging Sciences, vol. 8, no. 1, pp. 67-94, 2015.

(For mobius_area_correction_spherical) [2] G. P. T. Choi, Y. Leung-Liu, X. Gu, and L. M. Lui, "Parallelizable global conformal parameterization of simply-connected surfaces via partial welding." SIAM Journal on Imaging Sciences, vol.13, no. 3, pp. 1049-1083, 2020.

Copyright (c) 2013-2024, Gary Pui-Tung Choi

https://www.math.cuhk.edu.hk/~ptchoi

===============================================================

Usage (see demo.m):

  • map = spherical_conformal_map(v,f)

Input:

  • v: nv x 3 vertex coordinates of a genus-0 triangle mesh
  • f: nf x 3 triangulations of a genus-0 triangle mesh

Output:

  • map: nv x 3 vertex coordinates of the spherical conformal map

===============================================================

An extension is also provided (see demo_extension.m):

  • mobius_area_correction_spherical: We further reduce the global area distortion of a spherical conformal parameterization while maintaining the conformality, using the Mobius area correction method in [2].