Hi, I tested your dewarp.py and found that the dewarped image is cropped, like below:   I hope the result should be like this:  I want to keep the background, Do you have any advice? TKS