odc.geo.roi.scaled_down_roi

odc.geo.roi.scaled_down_roi(roi, scale)[source]

Compute ROI for a scaled down image.

Given a crop region of the original image compute equivalent crop in the overview image.

Parameters:
  • roi (Tuple[NormalizedSlice, NormalizedSlice]) – ROI in the original image

  • scale (int) – integer scale to get scaled down image

Return type:

Tuple[NormalizedSlice, NormalizedSlice]

Returns:

ROI in the scaled down image