Skip to content

garyptchoi/spherical-conformal-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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].