Distortion(flat, ref, polys)¶
Used to compute distortion metrics between fiducial and another (e.g. flat) surface.
- flat2D ndarray, shape (total_verts, 3)
Location of each vertex in flatmap space.
- ref2D ndarray, shape (total_verts, 3)
Location of each vertex in fiducial (reference) space.
- polys2D ndarray, shape (total_polys, 3)
Triangle vertex indices in both flat and ref.
__init__(flat, ref, polys)
Compute areal distortion of the flatmap.
Compute metric distortion of the flatmap.