siibra.experimental.contour

Module Contents

Classes

Contour

A PointSet that represents a contour line.

class siibra.experimental.contour.Contour(coordinates, space=None, sigma_mm=0, labels: list = None)
Inheritance diagram of siibra.experimental.contour.Contour

A PointSet that represents a contour line. The only difference is that the point order is relevant, and consecutive points are thought as being connected by an edge.

In fact, PointSet assumes order as well, but no connections between points.

crop(voi: siibra.locations.boundingbox.BoundingBox)

Crop the contour with a volume of interest. Since the contour might be split from the cropping, returns a set of contour segments.