Display a grayscale image in 3D

Display both a grayscale image and its 3D representation

You are now following this Submission

The only argument is "img" which is a string containing the path of the input image.

This program displays on the left the grayscale image and on the right the 3D representation of the latter.

Cite As

inf0phile (2026). Display a grayscale image in 3D (https://www.mathworks.com/matlabcentral/fileexchange/44967-display-a-grayscale-image-in-3d), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0