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

채택된 답변

Hiro Yoshino
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
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:
Marcus Nilsen
Marcus Nilsen 2020년 10월 8일
Thanks for the quick reply!
It looks helpful :-)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by