How to wrap an image/points to a 3d surface?
6 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
Benjamin Thompson
2022 年 11 月 21 日
Look over the example "3-D Point Cloud Registration and Stitching" in the Computer Vision Toolbox and see if that approach meets your needs.
Star Strider
2022 年 11 月 22 日
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.
回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Read, Write, and Modify Image についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
