Image Processing Toolbox User's Guide Previous page   Next Page


You can perform automatic contrast adjustment by setting the axes CLim values to the minimum and maximum pixel values in the image. To do this, click the Autoscaling button in the Adjust Contrast tool. By default, the CLim minimum and maximum values are set to the full dynamic range of the image.

You can also trim outliers at the top and bottom of the image histogram. By default, the Adjust Contrast tool removes the top 1% and the bottom 1%, but you can specify other percentages. (You can perform this same operation from the command line using the stretchlim function.) The following figure shows the Auto Scale Window.

Adjust Contrast Tool Auto Scale Window

Previous page  Using the Window/Level Tool Viewing Multiple Images Next page

© 1994-2005 The MathWorks, Inc.