ewoksndreg.transformation.numpy_backend.homography_transform_bounding_box#
- ewoksndreg.transformation.numpy_backend.homography_transform_bounding_box(active_matrix, shape)[source]#
Calculate the bounding box after transforming an image with shape shape. Returns the minimum and maximum coordinates of the bounding box.
- Parameters:
active_matrix (
ndarray) – shape (N+1, N+1) or (K, N+1, N+1)shape (
Tuple[int]) – shape (N,)
- Return type:
Tuple[ndarray,ndarray]- Returns:
2-tuple of arrays with shape (N,) or (K, N)