Image Processing Toolbox User's Guide Previous page   Next Page

5. Adjust the Contrast in the Processed Image

After subtraction, the image has a uniform background but is now a bit too dark. Use imadjust to adjust the contrast of the image.

imadjust increases the contrast of the image by saturating 1% of the data at both low and high intensities of I2 and by stretching the intensity values to fill the uint8 dynamic range. See the reference page for imadjust for more information.

Display the adjusted image I3.

Image After Intensity Adjustment


Previous page  4. Create an Image with a Uniform Background 6. Create a Binary Version of the Image Next page

© 1994-2005 The MathWorks, Inc.