odc.geo.roi.scaled_up_roi

odc.geo.roi.scaled_up_roi(roi, scale, shape=None)[source]

Compute ROI for a scaled up image.

Given a crop region in the original image compute equivalent crop in the upsampled image.

Parameters
  • roi – ROI in the original image

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

Returns

ROI in the scaled upimage