here’s the thing unwarped, by eye.
FFT, zeroing out some hot spots corresponding to the grid:
inverse FFT:
some not-quite-thresholding only to show what’s there, not a vital image operation:
I used imagej for the FFT stuff because it was quick and handy. I used a random photo editor for the perspective transform and the contrast/“thresholding”