How can I transform a sphere with associated values to a arbitrary shape?
조회 수: 2 (최근 30일)
이전 댓글 표시
I am trying to make a "device" that can scan the temperature of an object with a infrared thermometer.
The device is build so that the object is lying in the center and the "robot" is then scanning the temperature of the object, while rotating the object.
This gives me a list of x,y,z coordinates and the measured temperature.
The way the device is built the x,y and z coordinates follow the surface of a sphere.
I can then take these measurements and make a plot, showing the temperature as a sphere.
My problem is then that i would like to "transform" this sphere to the shape of my scanned object.
The object im scanning has a step/stl file, and i was hoping i could be able to "shrink wrap" my sphere around the model.
Think like deflating a baloon with a abject inside.
I hope that my question makes sense.
Best regards
Marcus
댓글 수: 0
채택된 답변
Hiro Yoshino
2020년 10월 7일
I did not really get what you're trying to do but it has something to do with the coordinate transformation?
This can be a help.
The best way to raise questions here in MATLAB Answers is converting your questions into something generic so anyone can understand where you get stuck technically/mathematicall.
댓글 수: 3
Hiro Yoshino
2020년 10월 8일
I got you.
This is the one that combines "color" and "3D map":
You can use your temperature for the argument C.
Also you can make your colormap from your data easily by using this tool:
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!