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 – ROI in the original image

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

Returns

ROI in the scaled down image