caf.base.segmentation#
Module for handling segmentation objects.
This imports the Segment class from caf.base.segments, and the SegmentsSuper enumeration from caf.base.segments. Both are used for building segmentations.
Functions
|
Typed version of namedtuple. |
|
Take in two lists and combine them, removing duplicates but preserving order. |
|
Take two MultiIndex objects and return their Cartesian product as a new MultiIndex. |
Classes
Base class for storing model parameters. |
|
|
PurePath subclass that can make system calls. |
|
Abstract base class for implementing the file system path protocol. |
|
Class containing info on a Segment, which combined with other Segments form a segmentation. |
|
Segmentation class for handling segmentation objects. |
|
Input class for segmentation objects. |
|
Single slice of a segmentation. |
|
Getter for predefined segments. |
Exceptions
Error for segmentation objects. |
|
Warn about segmentation objects. |