atlannot.displacements module¶
The Atlas Annotation (atlannot) package.
- atlannot.displacements.deltas_to_dfs(deltas)[source]¶
Transform deltas to displacement fields.
- Parameters:
deltas (np.ndarray) – The array with deltas. Has to have shape (n_dfs, 2, height, width).
- Returns:
dfs – The resulting displacement fields.
- Return type:
list
- atlannot.displacements.dfs_to_deltas(dfs)[source]¶
Transform displacement fields to deltas.
- Parameters:
dfs (iterable) – The displacement fields
- Returns:
deltas – The array with the deltas with shape (n_dfs, 2, height, width).
- Return type:
np.ndarray