| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Image Processing Toolbox |
| Contents | Index |
| Learn more about Image Processing Toolbox |
| On this page… |
|---|
Viewing and Changing Preferences Using the Preferences Dialog Box Retrieving the Values of Toolbox Preferences Programmatically |
You can view and change Image Processing Toolbox Preferences in the Preferences dialog box. To open this dialog box, select Preferences > Image Processing in the File menu in the MATLAB desktop or in the Image Tool, or type iptprefs at the command line.
You can use Image Processing Toolbox preferences to control certain characteristics of how imshow and imtool display images on your screen. For example, using toolbox preferences, you can specify the initial magnification used by imtool and imshow.
To determine the current value of a preference, use the iptgetpref function. This example uses iptgetpref to determine the value of the ImtoolInitialMagnification preference.
iptgetpref('ImtoolInitialMagnification')
ans =
100Preference names are case insensitive and can be abbreviated. For a complete list of toolbox preferences, see the iptprefs reference page.
To specify the value of a toolbox preference, use the iptsetpref function. This example calls iptsetpref to specify that imshow resize the figure window so that it fits tightly around displayed images.
iptsetpref('ImshowBorder', 'tight');For a table of the available preferences, see the iptprefs reference page.
![]() | Printing Images | Building GUIs with Modular Tools | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |