| Image Processing Toolbox™ | ![]() |
| On this page… |
|---|
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 iptsetpref 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 detailed information about toolbox preferences and their values, see the iptsetpref reference page.
The value you specify lasts for the duration of the current MATLAB session. To preserve your preference settings from one session to the next, include the iptsetpref commands in your startup.m file.
![]() | Printing Images | Building GUIs with Modular Tools | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |