查看单个帖子
旧 2019-11-25, 20:00   #1
poster
高级会员
 
注册日期: 2019-11-21
帖子: 3,006
声望力: 66
poster 正向着好的方向发展
默认 Combine a model and a matrix/picture

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).



Picture 1 - Blade



Picture 2 - important part of the surface





More answer...
poster 当前离线   回复时引用此帖