Image Processing Toolbox    

Toolbox Preferences

The toolbox preferences affect the behavior of imshow for the duration of the current MATLAB session. You can change these settings at any time by using the iptsetpref function. To preserve your preference settings from one session to the next, make your settings in your startup.m file. These are the preferences that you may set.

Toolbox Preference
Description
ImshowBorder
Controls whether imshow displays the figure window as larger than the image (leaving a border between the image axes and the edges of the figure), or the same size as the image (leaving no border).
ImshowAxesVisible
Controls whether imshow displays images with the axes box and tick labels.
ImshowTruesize
Controls whether imshow calls the truesize function. This preference can be overridden for a single call to imshow; see Using the truesize Function below for more details
TrueSizeWarning
Controls whether you will receive a warning message if an image is too large for the screen.

This example call to iptsetpref resizes the figure window so that it fits tightly around displayed images.

To determine the current value of a preference, use the iptgetpref function.

For more information about toolbox preferences and the values they accept, see the reference entries for iptgetpref and iptsetpref.


  Setting Toolbox Display Preferences Using the truesize Function