Skip to Main Content Skip to Search
Product Documentation

iptprefs - Display Image Processing Preferences dialog box

Syntax

iptprefs

Description

iptprefs opens the Image Processing Preferences dialog box, part of the MATLAB Preferences dialog box. You can also open this dialog box by selecting Preferences from the MATLAB Desktop File menu, and then choosing Image Processing.

The Image Processing Preferences dialog box contains display preferences for imtool and imshow and an option for enabling the Intel Integrated Performance Primitives (Intel IPP) library. Also, you can set all preferences at the command line with the iptsetpref function. To see how the options in the dialog box correspond to the commands, view the following picture.

Image Processing Preferences Dialog Box

The following table details the available preferences and their syntaxes. Note that preference names are case insensitive and you can abbreviate them. The default value appears enclosed in braces ({}).

Available Image Processing Preferences

Preference Name

Description

'ImtoolStartWithOverview'

Controls whether the Overview tool opens automatically when you open an image using the Image Tool (imtool). Possible values:

true— Overview tool opens when you open an image.

{false}— Overview tool does not open when you open an image. This is the default behavior.

'ImtoolInitialMagnification'

Controls the initial magnification of the image displayed by imtool. Possible values:

{'adaptive'} — Display the entire image. If the image is too large to display on the screen at 100% magnification, display the image at the largest magnification that fits on the screen. This is the default.

Any numeric value — Specify the magnification as a percentage. A magnification of 100% means that there should be one screen pixel for every image pixel.

'fit' — Scale the image so that it fits into the window in its entirety.

You can override this preference by specifying the 'InitialMagnification' parameter when you call imtool.

'ImshowAxesVisible'

Controls whether imshow displays images with the axes box and tick labels. Possible values:

'on' — Include axes box and tick labels.

{'off'} — Do not include axes box and tick labels.

'ImshowBorder'

Controls whether imshow includes a border around the image in the figure window. Possible values:

{'loose'} — Include a border between the image and the edges of the figure window, thus leaving room for axes labels, titles, etc.

'tight' — Adjust the figure size so that the image entirely fills the figure.

    Note   There still can be a border if the image is very small, or if there are other objects besides the image and its axes in the figure.

You can override this preference by specifying the 'Border' parameter when you call imshow.

'ImshowInitialMagnification'

Controls the initial magnification of the image displayed by imshow. Possible values:

Any numeric value — imshow interprets numeric values as a percentage. The default value is 100. A magnification of 100% means that there should be one screen pixel for every image pixel.

'fit' — Scale the image so that it fits into the window in its entirety.

You can override this preference by specifying the 'InitialMagnification' parameter when you call imshow, or by calling the truesize function manually after displaying the image.

'UseIPPL'

Controls whether some toolbox functions use the Intel IPP library or not. Possible values:

{true} — Enable use of the Intel IPP library.

false — Disable use of the Intel IPP library.

Note: Setting this preference value clears all loaded MEX-files.

See Also

imshow | imtool | iptgetpref | iptsetpref

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS