albumentations.augmentations.other.temporal_functional
Frame selection for temporal image and mask sequences.
Members
- functionuniform_temporal_subsample
- functionselect_annotation_rows
uniform_temporal_subsamplefunction
uniform_temporal_subsample(
frames: ArrayType,
frame_indices: Sequence[int] | np.ndarray
)Select frames along the leading axis without changing their spatial layout.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| frames | ArrayType | - | - |
| frame_indices | One of:
| - | - |
select_annotation_rowsfunction
select_annotation_rows(
frame_ids: np.ndarray,
frame_indices: Sequence[int] | np.ndarray,
instance_ids: np.ndarray | None,
instance_frame_ids: np.ndarray | None
)Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| frame_ids | np.ndarray | - | - |
| frame_indices | One of:
| - | - |
| instance_ids | One of:
| - | - |
| instance_frame_ids | One of:
| - | - |