Patent attributes
This disclosure provides devices, methods, computer-readable medium, and means for spatial alignment transform. In some aspects, a device may perform operations including capturing a first image of a scene using a first sensor at a first zoom ratio, capturing a second image of the scene using a second sensor at a second zoom ratio, the first image having a different field-of-view (FOV) than the second image, determining a translation matrix based on one or more spatial misalignments between the first image and the second image, determining a confidence associated with the translation matrix, in response to the confidence being greater than a confidence threshold, determining a weighting factor based on the first zoom ratio, the second zoom ratio, and a current zoom ratio of the device, applying the weighting factor to the translation matrix, and warping the first image to the second image using the weighted translation matrix.