Captured stdout call
Bounding box of calculated footprint for reference image:
(331320.0, 5830000.0, 354000.0, 5862000.0)
Bounding box of calculated footprint for image to be shifted:
(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 344720/5848485
Detected integer shifts (X/Y): -1/2
Detected subpixel shifts (X/Y): 0.40457239747047424/-0.23333793878555298
Calculated total shifts in fft pixel units (X/Y): -0.5954276025295258/1.766662061214447
Calculated total shifts in reference pixel units (X/Y): -0.5954276025295258/1.766662061214447
Calculated total shifts in target pixel units (X/Y): -0.5954276025295258/1.766662061214447
Calculated map shifts (X,Y): -5.954276025295258/-17.66662061214447
Calculated absolute shift vector length in map units: 18.643038562392498
Calculated angle of shift vector in degrees from North: 18.62563633837978
Original map info: ['UTM', 1.0, 1.0, 335440.0, 5866490.0, 10.0, 10.0, 33, 'North', 'WGS-84']
Updated map info: ['UTM', 1.0, 1.0, '335434.0457239747', '5866472.333379388', 10.0, 10.0, 33, 'North', 'WGS-84']
Image similarity within the matching window (SSIM before/after correction): 0.4548 => 0.6928
Estimated reliability of the calculated shifts: 84.1%
Correcting geometric shifts...
NOTE: The detected shift is corrected by updating the map info of the target image only, i.e., without any resampling. Set the 'align_grids' parameter to True if you need the target and the reference coordinate grids to be aligned.
Writing GeoArray of size (3152, 2074) to /builds/danschef/arosics/tests/output/testcase_inter1_S2A_S2A/tgt_S2A_20160529T153631_T33UUU_sub_CR_global.bsq.
Bounding box of calculated footprint for reference image:
(331320.0, 5830000.0, 354000.0, 5862000.0)
Bounding box of calculated footprint for image to be shifted:
(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 344720/5848485
Detected integer shifts (X/Y): -1/2
Detected subpixel shifts (X/Y): 0.40457239747047424/-0.23333793878555298
Calculated total shifts in fft pixel units (X/Y): -0.5954276025295258/1.766662061214447
Calculated total shifts in reference pixel units (X/Y): -0.5954276025295258/1.766662061214447
Calculated total shifts in target pixel units (X/Y): -0.5954276025295258/1.766662061214447
Calculated map shifts (X,Y): -5.954276025295258/-17.66662061214447
Calculated absolute shift vector length in map units: 18.643038562392498
Calculated angle of shift vector in degrees from North: 18.62563633837978
Original map info: ['UTM', 1.0, 1.0, 335440.0, 5866490.0, 10.0, 10.0, 33, 'North', 'WGS-84']
Updated map info: ['UTM', 1.0, 1.0, '335434.0457239747', '5866472.333379388', 10.0, 10.0, 33, 'North', 'WGS-84']
Image similarity within the matching window (SSIM before/after correction): 0.4548 => 0.6928
Estimated reliability of the calculated shifts: 84.1%
Correcting geometric shifts...
Writing GeoArray of size (3152, 2074) to /builds/danschef/arosics/tests/output/testcase_inter1_S2A_S2A/tgt_S2A_20160529T153631_T33UUU_sub_CR_global.bsq.