Plot an image as a 3D surface
20 次查看(过去 30 天)
显示 更早的评论
Is there a simple way to take an image, give each pixel a height value and have matlab plot the whole thing as a surface but retain the image values instead of the matlab shading on the surface?
Background: I have an RGB image and another matrix of same size that is height values. I'd like to plot the image as a 3D surface using the height values for each pixel in the image so that each point in the surface has the color of the matching point in the RGB matrix.
In this case the data comes from a kinect but this question has more general applications.
Data: size(imgColor)=480,640,3 size(IMgDepth)=480,640
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Kinect For Windows Sensor 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!