API reference

Scikit-Shapes: shape analysis in python.

Functions

Circle([n_points])

Return a circle.

Sphere()

Return a sphere.

Classes

Image(values, *[, dim, dtype, device])

A D-dimensional grid, with a K-dimensional value associated to each of its voxels.

Mask(*[, indices, flat_indices, device])

A D-dimensional mask over a voxel grid.

PolyData(points, *[, edges, triangles, ...])

A polygonal shape that is composed of points, edges and/or triangles.

SparseImage(*[, indices, flat_indices, ...])

A D-dimensional grid, with a K-dimensional value associated to each of its voxels.

Modules

applications

convolutions

features

Point normals, curvatures, etc.

images

input_validation

Input validation module

loss

Loss functions for shape analysis.

morphing

Deformation models.

multiscaling

Multiscale representation of shapes.

optimization

Optimizers.

tasks

High-level tasks: registration, atlas construction, etc.

triangle_mesh

Functions related to triangle meshes.

types

Types aliases and utility functions for scikit-shapes.