showpixels

Show low resolution image

Displays a low resolution image in detail as a grid with colored lines between pixels and numeric display of pixel values at each pixel. Useful for illustrating principles in teaching.

Options

'fmt', F Format string (defaults to %d or %.2f depending on image type)
'label' Display axis labels (default true)
'color', C Text color (default 'b')
'fontsize', S Font size (default 12)
'pixval' Display pixel numeric values (default true)
'tick' Display axis tick marks (default true)
'cscale', C Color map scaling [min max] (defaults [0 1] or [0 255])
'uv', UV UV={u,v} vectors of u and v coordinates

Notes


Machine Vision Toolbox for MATLAB © 1990-2014 Peter Corke.