How to wrap an image/points to a 3d surface?
31 views (last 30 days)
Show older comments
Hi, I am trying to figure out a way to wrap a set of points (that make up an image) onto a 3d surface, similar to how one would wrap a printed image onto a cylinder in real life.
I have looked into some of the built-in MATLAB functions (such as warp), but this does not acheive the desired result, as it projects rather than warps. I feel like there should be a simple solution to this problem, as wrapping is very common in CAD programs such as Solidworks.
The ideal workflow is given a a set of XY points (that make up an image), and a point cloud (which can be made into a surface), the code would return the XYZ coordinates of the image on that surface.
Any and all help would be appreciated. The image (made of points) is shown below.

Thanks,
-Daniel
2 Comments
Star Strider
on 22 Nov 2022
Another option may be the warp funciton. There are two warp funcitons, the one I linked to here is described as: ‘Display image as texture-mapped surface’. It gives an example using a surf plot.
Answers (1)
See Also
Categories
Find more on Geometric Transformation and Image Registration 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!