How can I transform a sphere with associated values to a arbitrary shape?
2 views (last 30 days)
Show older comments
Marcus Nilsen
on 7 Oct 2020
Commented: Marcus Nilsen
on 8 Oct 2020
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 Comments
Accepted Answer
Hiro Yoshino
on 7 Oct 2020
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 Comments
Hiro Yoshino
on 8 Oct 2020
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:
More Answers (0)
See Also
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!