Converting from volume (or image) to meshgrid
4 次查看(过去 30 天)
显示 更早的评论
How does one convert a gray-scale volume into meshgrid format?
0 个评论
采纳的回答
Prannay Jain
2017-5-1
>> A=imread('grayimage.jpeg');
>> [X,Y]=meshgrid(1:size(A,1), 1:size(A,2));
You can also refer to this link, https://www.mathworks.com/matlabcentral/answers/79590-how-to-convert-an-image-to-the-cartesian-x-y-coordinates
0 个评论
更多回答(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!