MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   Combine a model and a matrix/picture (https://www.labfans.com/bbs/showthread.php?t=22132)

poster 2019-11-25 20:00

Combine a model and a matrix/picture
 
<p>I have a question about using Matlab. I have loaded a CAD model of a blade into Matlab as a *.stl file. By using alphashape, I got all the points of the surface of the model. Now, I would like to map an image on the suction side of the airfoil (red marked in the section picture). The image, which I want to map is created from a matrix (640x512) by using the imagesc function. Each value of the matrix represents the temperature of the pixel (some kind of temperature plot).
Does anybody now, how I can do that? I thought about using the Texture Mapping function of Matlab, but I did not manage it. Another idea is to refer the value of each pixel to the points of the surface and to colour them afterwards, but I do not know, how to do that in an effective way because there are many points of the surface, which are not important and I did not find a good way to sort the points so that it would be easier. I tried to find some information on the internet, but have not found any good idea, yet (except Texture Mapping).</p>

<p><a href="https://i.stack.imgur.com/qhN2g.png" rel="nofollow noreferrer">Picture 1 - Blade</a></p>

<p><a href="https://i.stack.imgur.com/SYl5M.png" rel="nofollow noreferrer">Picture 2 - important part of the surface</a></p>



[url=https://stackoverflow.com/questions/59031019/combine-a-model-and-a-matrix-picture]More answer...[/url]


所有时间均为北京时间。现在的时间是 19:48

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.