StructuralFeature#

class deeptrack.features.StructuralFeature(_input: Any = [], **kwargs: dict[str, Any])#

Bases: Feature

Provides the structure of a feature set without input transformations.

A StructuralFeature does not directly transform the input data or add new properties. Instead, it is commonly used as a logical or organizational tool to structure and manage feature sets within a pipeline.

Since StructuralFeature does not override the __init__ or get methods, it inherits the behavior of the base Feature class.

Attributes#

__property_verbosity__: int

Controls whether this feature’s properties are included in the output image’s property list. A value of 2 means that this feature’s properties are not included.

__distributed__: bool

Determines whether the feature’s get method is applied to each element in the input list (__distributed__ = True) or to the entire list as a whole (__distributed__ = False).

Notes#

Structural features are typically used for tasks like grouping or chaining features, applying sequential or conditional logic, or structuring pipelines without directly modifying the data.