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

The Galleries:

Photo Gallery
Silicon Zoo
Pharmaceuticals
Chip Shots
Phytochemicals
DNA Gallery
Microscapes
Vitamins
Amino Acids
Birthstones
Religion Collection
Pesticides
BeerShots
Cocktail Collection
Screen Savers
Win Wallpaper
Mac Wallpaper
Movie Gallery

Extended Focus

It is, of course, always desirable to acquire images in perfect optical focus. But sometimes it isn’t possible, and software must be called in to help out. One situation arises when the optics have insufficient depth-of-field to provide sharp focus for the entire scene or sample. Historically, microscopists would adjust focus up and down through the necessary range and then make a sketch showing the entire specimen, based on their mental compilation of in-focus information.

There is a way to achieve the same effect with a series of digital images, acquired as the focus setting of the microscope is varied through its range. From each individual image, just those pixels that are in focus are kept, and combined with those from others in the series to produce a result that is in focus everywhere. The criteria for selecting the best focus is the statistical variance of the brightness values in a small neighborhood around each pixel (a 5 pixel wide circle in the example shown). When the region is not in sharp focus, the variance decreases significantly. This interactive Java tutorial illustrates combining multiple images to form an extended focus composite.

Interactive Java Tutorial
ATTENTION
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. Clicking on the Through-Focus Series button allows using the Focus Depth slider to scan through the series of images, either by moving the slider control or by clicking on the arrow buttons at either end. Clicking on Best-Focus Composite displays the result of combining all of the individual frames in the series.

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.


BACK TO INTRODUCTION TO DIGITAL IMAGE PROCESSING AND ANALYSIS

BACK TO MICROSCOPY PRIMER HOME

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: Wednesday, Mar 26, 2014 at 02:23 PM
Access Count Since July 20, 2006: 4134
For more information on microscope manufacturers,
use the buttons below to navigate to their websites: