Display pixels and pixel values

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


Updated 1 Sep 2016

View License

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 (2023). Display pixels and pixel values (https://www.mathworks.com/matlabcentral/fileexchange/14142-display-pixels-and-pixel-values), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Updated license

Updated to work with recent releases of MATLAB.