Converting from volume (or image) to meshgrid

39 views (last 30 days)
How does one convert a gray-scale volume into meshgrid format?

Accepted Answer

Prannay Jain
Prannay Jain on 1 May 2017
>> A=imread('grayimage.jpeg');
>> [X,Y]=meshgrid(1:size(A,1), 1:size(A,2));

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!

Translated by