urbanlc.model.pipeline_transforms.compute_BUI#
- urbanlc.model.pipeline_transforms.compute_BUI(img: ndarray, index_a: int, index_b: int) ndarray #
Compute the Built-Up Index (BUI).
- Parameters:
img (np.ndarray) – Landsat image.
index_a (int) – Index of a band used in the computation of the BUI.
index_b (int) – Index of another band used in the computation of the BUI.
- Returns:
BUI computed from the input image.
- Return type:
np.ndarray