Drawing a 3-D graph of image using meshgrid and meshc

4 views (last 30 days)
I have a 512 by 512 gray level image. How can I use meshgrid and meshc to draw a 3D graph of the function corresponding to the image?

Answers (1)

Image Analyst
Image Analyst on 4 Feb 2015
How about
surf(grayImage);

Categories

Find more on Medical Physics in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!