Microscopy Primer
Light and Color
Microscope Basics
Special Techniques
Digital Imaging
Confocal Microscopy
Live-Cell Imaging
Microscopy Museum
Virtual Microscopy
Web Resources
License Info
Image Use
Custom Photos
Site Info
Contact Us

The Galleries:

Photo Gallery
Silicon Zoo
Chip Shots
DNA Gallery
Amino Acids
Religion Collection
Cocktail Collection
Screen Savers
Win Wallpaper
Mac Wallpaper
Movie Gallery

Background Subtraction - Removing a Fitted Background

One method for correcting the effects of non-uniform illumination in a digital image is to measure background brightness at a number of points. These values can then be used to generate a background using a polynomial function. Usually either a second or third order polynomial will provide a good fit to the nonuniformity that results from optical vignetting or the fall-off in illumination due to condenser lens settings or copy stand lights. This interactive Java tutorial allows the user to select points from which to fit a background to be subtracted, illustrating the result of subtracting a polynomial function to correct nonuniform illumination.

Interactive Java Tutorial
Our servers have detected that your web browser does not have the Java Virtual Machine installed or it is not functioning properly. Please install this software in order to view our interactive Java tutorials. You may download the necessary software by clicking on the "Get It Now" button below.


The tutorial initializes with a randomly selected specimen imaged in the microscope appearing in the Specimen Image window. The Choose A Specimen pull-down menu provides a selection of specimen images, in addition to the initial randomly chosen one. The Images radio buttons choose a set of either Color or Grayscale specimen images. Click on the marked points on the image and drag them to the locations to be used for fitting the polynomial. The size of the sampled area at each location is controlled by the Control Point Size slider. The amount of brightness offset added to the result after the polynomial has been subtracted is adjusted using the Brightness Offset slider. The Display Image radio buttons show the Background image or the Subtraction image. Click on the Background Image radio buttons to display either the results of the polynomial fit to the user-selected locations, or a pre-recorded actual background image for comparison.

Contributing Authors

John C. Russ - Materials Science and Engineering Dept., North Carolina State University, Raleigh, North Carolina, 27695.

Matthew Parry-Hill, and Michael W. Davidson - National High Magnetic Field Laboratory, 1800 East Paul Dirac Dr., The Florida State University, Tallahassee, Florida, 32310.



Questions or comments? Send us an email.
© 1998-2009 by Michael W. Davidson, John Russ, Olympus America Inc., and The Florida State University. All Rights Reserved. No images, graphics, scripts, or applets may be reproduced or used in any manner without permission from the copyright holders. Use of this website means you agree to all of the Legal Terms and Conditions set forth by the owners.
This website is maintained by our
Graphics & Web Programming Team
in collaboration with Optical Microscopy at the
National High Magnetic Field Laboratory.
Last modification: Friday, Nov 13, 2015 at 01:19 PM
Access Count Since July 20, 2006: 5012
For more information on microscope manufacturers,
use the buttons below to navigate to their websites: