Display pixels and pixel values

Display pixels and pixel values like impixelregion, but in an ordinary figure

You are now following this Submission

showPixelValues displays image pixels, a pixel grid, and superimposed pixel values. It uses impixelregion from the Image Processing Toolbox. Unlike an impixelregion figure, though, the figure created by showPixelValues can be captured in a published M-file script.

Cite As

Steve Eddins (2026). Display pixels and pixel values (https://www.mathworks.com/matlabcentral/fileexchange/14142-display-pixels-and-pixel-values), 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.1.0.1

Updated license

1.1.0.0

Updated to work with recent releases of MATLAB.

1.0.0.0