Image correction based on the mesh of projection surface

1 view (last 30 days)
I need to predistort an image that will be projected on an uneven surface. The surface is deformed (almost wavy). I have an image of a 2D mesh of this surface (Attached are two sample images, one in grayscale, one binary). Based on this image, I need to correct the mesh and rearrange it into perfect squares and then apply this transformation to any other image.
Any tips or guidlines on how to do that are appreciated. This approach might be wrong but it is the only way I can think of, given that I only have an image of the mesh to start with. I am open to other ideas though. Cheers.

Answers (1)

Benjamin Thompson
Benjamin Thompson on 6 Jul 2022
Edited: Benjamin Thompson on 6 Jul 2022
The image processing toolbox has only more basic geometric transformations, and computer vision has some camera calibration tools but they do not seem to match your application. You could try this submission on the File Exchange:
https://www.mathworks.com/matlabcentral/fileexchange/45142-mesh-based-image-warping?s_tid=srchtitle_MESH_10

Categories

Find more on Communications Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!