Converting from volume (or image) to meshgrid
4 views (last 30 days)
Show older comments
How does one convert a gray-scale volume into meshgrid format?
0 Comments
Accepted Answer
Prannay Jain
on 1 May 2017
>> 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 Comments
More Answers (0)
See Also
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!