Esempio n. 1
0
def test_draco_layer():
    n_points = 12
    img = sphere_tissue_image(size=100, n_points=n_points)

    draco = DracoMesh(img)

    draco.layer_adjacency_complex()

    triangular = [
        'star',
        'remeshed',
        'straight',
        'regular',
    ]
    image_dual_topomesh = draco.dual_reconstruction(
        reconstruction_triangulation=triangular, adjacency_complex_degree=2)