Published: Vol 15, Iss 14, Jul 20, 2025 DOI: 10.21769/BioProtoc.5388 Views: 385
Reviewed by: Anonymous reviewer(s)
Protocol Collections
Comprehensive collections of detailed, peer-reviewed protocols focusing on specific topics
Related protocols
Single-Particle Tracking of AMPA Receptor-Containing Vesicles
Victor C. Wong [...] Erin K. O’Shea
Jun 5, 2025 831 Views
Quantitative Microscopy for Cell–Surface and Cell–Cell Interactions in Immunology
Beatriz Díaz-Bello [...] Laurent Limozin
Sep 5, 2025 415 Views
Real-Time Imaging of Specific Genomic Loci With CRISPR/dCas9 in Human Cells Using CRISPRainbow
Thomas J. Versosky [...] Li-Chun Tu
Sep 5, 2025 410 Views
Abstract
Brightfield microscopy is an ideal application for studying live cell systems in a minimally invasive manner. This is advantageous in long-term experiments to study dynamic cellular processes such as stress response. Depending on the sample type and preparation, the inherent qualities of brightfield microscopy, being very low contrast, can contribute to technical issues such as focal drift, sequencing lags, and complete failure of software autofocus systems. Here, we describe the use of microbeads as a focus aid for long-term live cell imaging to address these autofocus issues. This protocol is inexpensive to implement, without extensive additional sample preparation, and can be used to capture focused images of transparent cells in a label-free manner. To validate this protocol, a widefield inverted microscope was used with software-based autofocus to image overnight in time-lapse format, demonstrating the use of the beads to prevent focal drift in long-term experiments. This improves autofocus accuracy on relatively inexpensive microscopes without using hardware-based focus aids. To validate this protocol, the KNIME logistics software was used to train a random forest model to perform binary image classification.
Key features
• Label-free live cell imaging in time-lapse format.
• Troubleshooting software autofocus for brightfield mode.
Keywords: Live-cell imagingGraphical overview
Background
In fluorescence microscopy, fluorescent stains and probes can be used to highlight subcellular structures. The caveats of using fluorescent microscopy, such as photobleaching and phototoxicity, are well described [1]. Phototoxicity refers to the process where typical wavelengths that are used in fluorescence imaging generate excessive reactive oxygen species (ROS), which can lead to DNA damage [2]. This phenomenon is dependent on wavelength and length of exposure to cells [2]. Intracellular ROS production can be buffered by cell antioxidant molecules and enzymes, although in fluorescent imaging, ROS buffering capacities can be exceeded [3,4]. Photobleaching refers to the destruction of a fluorophore, such as a fluorescent protein (i.e., GFP), in the excited state that leads to depletion of signal over time; this can result in the production of ROS and subsequent photobleaching [1,5].
Commonly used stains such as DRAQ5 and Hoechst that highlight chromatin have demonstrated cytotoxic effects in live-cell imaging [6,7]. DRAQ5 dye alters the dynamics and localization of critical proteins involved in DNA transcription, replication, and repair; Hoechst can cause cell cycle arrest or delay of the G2 phase [6,7]. Consideration must be taken when designing experiments to minimize the confounding effects of potentially cytotoxic stains (phototoxicity and photobleaching), especially in long-term acquisitions. This is necessary as artifacts may appear from sample preparation and/or in imaging, and this becomes increasingly important when evaluating the effects of cell treatments.
Time-lapse experiments are easily susceptible to phototoxicity. Cell migration is reduced at high fluorescent light doses compared with cells imaged in brightfield [8]. Time resolution and/or light dose must be compromised to reduce phototoxicity using fluorescent microscopy, making this unsuitable to follow rapid cellular activities [9]. In contrast, brightfield microscopy is label-free, making this technique less invasive and relatively inexpensive. This is an ideal application for studying live-cell systems and processes that are sensitive to oxidative stress caused by elevated ROS, such as mitosis [4,10]. Additionally, information that may differ from fluorescent images, such as cell texture, can be acquired simultaneously with structural information to create novel morphological profiles [11].
Autofocus combines search algorithms and focus metrics to identify the sharpest image across the entire focal depth [12,13]. In automated microscopy, focus metrics are contrast-based algorithms applied to each image when scanning the focal depth. Plotting the magnitude of the focus function creates a focal curve where the most focused image is the global maximum [12]. Ideally, the range of the focus curve is narrow, creating a single defined global maximum with few, if any, local maxima [10]. In practice, when evaluated across different sample types, commonly used focus metrics are far from robust, and the focal curve is not unimodal [14–16].
Confounding the susceptibility of focus metrics to failure, search algorithms are another possible source of error in autofocus. These algorithms represent optimization problems, where the most focused image must be defined accurately and rapidly. Global search is a commonly used search algorithm that samples the entire focal depth but is computationally slow. To optimize speed, the hill climbing method is a type of binary search using a combination of fine and rough focusing; however, it can incorrectly select a local maximum as the most focused image [16]. The susceptibility to failure of autofocus systems appears frequently in the presence of plate scratches, debris, noise, lack of high-frequency content (i.e., few cells, transparent cells), or uneven illumination [14,15]. High-frequency content is associated with sharp objects. Contrast-based autofocus systems identify the global maximum by comparing sharpness across the focal depth [14].
Autofocus algorithms have been evaluated and implemented effectively with fluorescence microscopy, due to the inherent high signal-to-noise ratio [17]. Despite mitigating many drawbacks associated with fluorescence microscopy, the qualities of brightfield microscopy make it more susceptible to autofocus problems. For example, imaging transparent cells such as fibroblasts produces images with low signal-to-noise ratios and makes identifying the correct focal plane by autofocus more error-prone.
Our goal was to utilize an inverted widefield microscope with software autofocus to capture mitotic events in hTERT immortalized patient-derived fibroblasts, also known as TruHD cells [18], to study the impact of Huntington’s disease-associated mutations on cell growth. Since increased cell stress and sensitivity to DNA damage have been demonstrated in TruHD cells [18], we wished to mitigate additional cell stress by choosing to collect brightfield stain-free images. However, we found the software-based autofocus insufficient for use in the transmitted light channel specifically (Figure 1). This failure could not be resolved by imaging in phase contrast or by selecting an alternative built-in autofocus algorithm. In collecting temporal data over time without the aid of autofocus, we observed drift from the manually set focus over time, even while using stains, demonstrating that a working autofocus is necessary to acquire quality movies. In this paper, we describe in detail the use of microbeads as an aid for focusing on the transmitted light channel to acquire images of live cells in time-lapse.
This method is not only effective in eliminating long-term focus drift; in multi-well plates, placing beads in wells adjacent to wells without beads aids focus accuracy. In place of tedious manual annotation of over 3,700 images collected using this protocol, a random forest model was trained. The model was used to perform unbiased binary classification, identifying images as focused or unfocused. The classifier is not required to use beads as a focal fiduciary; however, this was essential to validate this method. This protocol will briefly describe training the machine learning algorithm using the data analysis platform, KoNstanz Information MinEr, or KNIME ( https://www.knime.com/).
Materials and reagents
Biological materials
1. TruHD Cells [16]
Reagents
1. Minimal essential media (MEM), 1× (Gibco, catalog number: 10370-021)
2. Fetal bovine serum (Wisent, catalog number: 098450)
3. Deionized microfiltered water
Solutions
1. Supplemented media (see recipes)
Recipes
1. Supplemented media
Reagent | Final concentration | Quantity or volume |
---|---|---|
MEM 1× | n/a | 500 mL |
Fetal bovine serum | 13% | 75 mL |
Total | n/a | 575 mL |
Laboratory supplies
1. 0.2 μm filter (Filtropur BT50, 83.3941.101)
2. 50 mL Screw cap tube (Starstedt, 62.547.254)
3. Microbeads: Silicon dioxide microparticles 2 μm (Sigma-Aldrich, catalog number: 81108-5ML-F), red fluorescent latex beads 2 μm (Sigma-Aldrich, catalog number: L3030-1ML), and non-fluorescent latex beads 3 μm (Sigma-Aldrich, catalog number: LB30-2ML)
Note: Beads are stored at room temperature and covered in foil.
4. 384-well plate (PerkinElmer, PhenoPlate)
5. Hemocytometer (any)
6. “Dummy” plate (any)
7. Pipette tips: 10 μL (VWR, catalog number: 76322-528), 200 μL (VWR, catalog number: 76322-150), and 1000 μL (VWR, catalog number: 76322-154)
8. Pipette: p10 (Eppendorf, catalog number: 3123000020), p200 (Eppendorf, catalog number: 3123000055), and p1000 (Eppendorf, catalog number: 3124000121
9. 1.5 mL microcentrifuge tubes (Avantar, catalog number: 20170-038)
10. Tissue culture plates (Fisherbrand, catalog number: FB012924)
11. Microtube rack (Any)
Equipment
1. Multi-gas incubator (PHCBI, catalog number: MCO-170M-PA)
2. Evos M7000 microscope (ThermoFisher, catalog number: AMF7000)
a. EVOS onstage incubator (Invitrogen, catalog number: AMC1000)
b. EVOS objective lens (20× Air, Plan fluorite 20×/NA 0.5, catalog number: AMEP4698)
c. EVOS light cube (Cy5, catalog number: AMEP4956)
3. Laboratory plate centrifuge (Eppendorf, model: Centrifuge 5810R)
4. Biological safety cabinet (Microzone corporation, model: BK-2-4)
Software and datasets
1. Python (3.10.9)
2. EVOS imaging software (2.1.677.717)
3. GraphPad Prism (10.2.3)
4. KNIME (5.2.1)
5. System requirements:
a. Linux: 64-bit, at least 8 GB RAM
b. Mac: 10.11 and above, at least 8 GB RAM
c. Windows: 32- or 64-bit, at least 8 GB RAM
Procedure
A. Day 1: Plate preparation
See General note 1.
Critical: This protocol describes Experiment 2 (Figure 2); 2 μm red latex beads are used.
1. Cell counting
a. Add 300 μL of suspended cells to a screw cap tube.
b. Add 3 mL of supplemented media to the tube.
c. Mix thoroughly.
d. Add a small volume of the mixture (5 μL) to a hemocytometer.
e. Follow the directions provided for the hemocytometer to determine cell dilution.
f. Dilute the cells to 15 cells/μL using supplemented media.
2. Seed 384-well plate
a. Add 50 μL of the diluted cells from step A1 to each well as shown in Experiment 2 (Figure 2).
b. Leave the plate at room temperature for 15 min to allow cells to settle on the bottom of the well.
c. Place the plate into the incubator overnight (37.0 °C, 5.0% CO2, 8.0% O2).
B. Day 2: Bead dilution in filtered water
Critical: Cells should be 40%–50% confluent.
See General note 2 and 3.
1. Filter deionized water using a 0.2 μm filter.
2. Label microcentrifuge tubes.
a. Place six microcentrifuge tubes into the microtube rack.
b. Label with dilutions as follows: 1/11, 1/352, 1/704, 1/1408.
3. Add filtered water to the tubes as follows:
a. Add 50 μL of water to 1/11.
b. Add 155 μL of water to 1/352.
c. Add 100 μL of water to all remaining tubes (from step A2).
4. Serially dilute beads
a. Add 5 μL of beads to the 1/11 tube.
b. Mix thoroughly by pipetting at least 10 times.
c. Add 5 μL of the 1/11 to the 1/352 tube.
d. Mix thoroughly by pipetting at least 10 times.
e. Add 100 μL of the 1/352 dilution to the 1/704 tube.
f. Mix thoroughly by pipetting at least 10 times.
g. Add 100 μL of the 1/704 dilution to the 1/1408 tube.
C. Day 2: Addition of beads to the pre-seeded 384-well plate
1. Dilute the beads in media
a. Label a new microcentrifuge tube as 1/1408M.
b. Add 200 μL of supplemented media to the 1/1408M tube.
c. Add 25 μL of the beads from the 1/1408 dilution to the 1/1408M.
d. Aliquot 275 μL of supplemented media to a new microcentrifuge tube (25 μL per well is the minimum volume).
2. Add the beads to the plate (see General note 4)
a. From the 1/1408M, add 25 μL of the beads to bead wells as shown in Experiment 2 (Figure 2) to achieve a final dilution of 1/38,016.
b. Add 25 μL of aliquoted media to wells without beads as shown in Experiment 2 (Figure 2).
3. Spin down the plate at 1,000× g for 5 min.
Critical: Carefully remove the plate from the centrifuge, avoiding tilting and sudden movements. Disrupting the beads after spinning the plate will cause them to resuspend in the media. Avoid any sudden movements when transferring the plate to the microscope and handling it after this step.
D. Day 2: Collecting image data
1. Start the EVOS M7000 system.
2. Insert a “dummy” plate onto the stage to fill the space while the microscope is warming up.
3. Fill the incubator system with water.
4. Open the CO2 tank for delivery to the sample.
5. In the EVOS software, manually activate the environmental controls (5% CO2, 37 °C).
6. Allow the system to warm up for 1 h before use.
7. Transfer the plate to the microscope.
a. Data acquisition:
i. Experiment 1 (Figure 2) (see General note 5 and 6)
1) Imaging frequency and protocol: Serpentine vertical scanning, single passage of the plate, and 4 fields per well.
2) Autofocus settings: Algorithm selected: fluorescence optimized, autofocus with all channels, every field, first time point only, skip fields that fail.
3) Objective/channels acquired: 20× Plan fluorite, Transmitted, and Cy5.
ii. Overnight scanning procedure (Experiment 2, Figure 2):
1) Imaging frequency and protocol: Serpentine vertical scanning, acquire plate every 4 min for 14 h, and 4 fields per well.
2) Autofocus setting: Algorithm selected: fluorescence optimized, autofocus every field using transmitted channel, every time point, without skipping fields that fail.
3) Objective/channel acquired: 20× Plan fluorite, Transmitted.
Data analysis
Validation of this protocol was carried out with three technical replicates and two biological replicates. The training of the random forest model is briefly described below to validate this protocol. The model is unnecessary to implement beads as a focal fiduciary.
A. Image metadata analysis
Two scripts were created to extract metadata from the images acquired and used to create a CSV file containing the exposure time in each well. Next, this was sorted based on the position of the well. All scripts used for data analysis can be found on the Truant Lab GitHub at https://github.com/TruantLab/Py-files-Bio-Protocols- .
B. Sample time-lapse video creation
Images were selected from Experiment 2 (Figure 2) of a well with beads and an adjacent well (1st adjacent). The images were scaled using the mean pixel intensity of each image set, with a Python script also found on the Truant Lab GitHub.
C. Image classification in KNIME
The workflow described in this protocol is available at https://hub.knime.com/s/fbbMd4SW0FRbecm4.
D. Training a random forest model in KNIME
D1. Data preparation and feature extraction in CellProfiler
374 brightfield images were selected to generate a training dataset. Images were manually annotated with the ground truth class (focused, not focused). In CellProfiler, each image was filtered using either a Gaussian filter and/or an edge detection filter. From each image, texture features were extracted from the raw image or filtered images and exported to a database file. Features were graphed to identify candidates to train the image classifier in KNIME. Identified features demonstrated some ability to distinguish between image classes (i.e., focused, not focused) annotated earlier. The features selected include angular second moment (extracted from raw images), contrast and sum average (extracted from Gaussian-filtered images), and contrast (extracted from images with Gaussian and edge-detection filters applied). Features were extracted with a filter size of 170 pixels. A test set and all deployment data (i.e., images generated from repeats of this protocol) were analyzed through the CellProfiler pipeline, and features were extracted to separate database files.
D2. Design of a random forest model training architecture in KNIME
The KNIME workflow consists of training data pre-processing and annotation, training, validation, hyperparameter optimization, and deployment (Figure 3).
D3. Probability of a focused image
Images acquired in Experiment 2 (Figure 2) were predicted using the KNIME classifier. The probability of a focused image was calculated as the ratio of focused images to total images acquired in each field.
D4. Model validation, optimization, and test data
The model performed with 98.23% accuracy with a validation set of the training data. The model had 75% accuracy with the test set before optimization. Following optimization, the model’s accuracy improved to 92.97% with the test set.
Validation of protocol
To evaluate the use of this protocol, two criteria were selected: the presence of imaging lags and the ability to retain focus in overnight image acquisitions, as shown by Experiment 2 in Figure 2. The utility of microbeads other than that used for the overnight experiments was evaluated as shown in Experiment 1 (Figure 2). The effect of adding beads to a well was determined by compiling images in time-lapse format. The image classifier was used to evaluate the effect of the beads on adjacent wells.
1. Assessing the consistency in exposure time per well in the presence and absence of beads
Experiment 2 was designed to determine whether the presence of beads in the well or in a neighboring well reduces imaging lags. In preliminary experiments, we noticed imaging lags within the first passage of the plate, whereby the autofocus feature would expose certain wells longer than others.
The addition of the microbeads promoted consistent exposure time for wells with beads and significantly decreased mean acquisition time as compared to wells before beads (Figure 4). This indicates that the presence of the beads reduced and maintained consistent exposure time across multiple wells. We did not observe a difference in exposure time in wells adjacent to the beads compared to wells before the beads. This demonstrates that there is no improvement in the exposure time in adjacent wells. Therefore, having beads in the wells imaged is necessary for consistently low exposure time. However, changes to exposure time per well are not necessarily predictive of image focus. To assess this, we determined a means of classifying image focus to further validate the use of this protocol.
2. Long-term acquisition image quality
Following four plate acquisitions, the plate was imaged in serpentine vertical for 14 h (Figure 2). In the time-lapse movies created from the images, the presence of the microbeads prevented focal drift in the wells with beads. Focal drift was also prevented in a well without beads, directly adjacent to the bead well. To determine if the effect of the beads on adjacent wells was consistent across the entire dataset of images acquired, a machine learning algorithm was trained to classify images as focused or unfocused. The algorithm was trained using a random forest model and the data analysis software KNIME.
Subsequently, images acquired overnight in Experiment 2 were classified using the model. The presence of beads improved the probability of obtaining a focused image compared to images acquired without an adjacent bead well at the first time point (Figure 5A). Initially, it was expected that the presence of the beads would be most effective in retaining focus in directly adjacent wells (i.e., 1st adjacent) and the effectiveness would decrease with distance from the bead well (i.e., 2nd and 3rd adjacent wells). All adjacent wells had a high probability of being focused (Figure 5B). Finally, the presence of beads in adjacent wells was effective in maintaining a high probability of obtaining a focused image in overnight scans (Figure 5C).
3. Efficacy of using distinct types of microbeads as a focus fiduciary
To determine if other beads could be used as a focus aid, fluorescent, non-fluorescent, and glass (silicon dioxide) microbeads were tested (Experiment 1, Figure 2A). All channels were used for autofocusing. The non-fluorescent beads appeared more prominently than the cells and exhibited strong autofluorescence (Figure 6). The non-fluorescent beads are larger than both the glass and fluorescent beads, and thus sit further above the plane of the cells than the smaller beads. The objective of adding the beads is to retain focus in long-term scans by preventing focal drift. We hypothesize that if the beads are much larger than the cells, this effect is lost as the autofocus is selecting a plane that is not the optimal focus position. Further, downstream segmentation of these images could be difficult, and the beads may be incorrectly identified as cell objects. The use of silicon dioxide beads produced hazy and low-contrast images compared to the other beads tested. In addition, a caveat of glass beads is that they can focus light by acting as ball lenses. Beads were used at three different dilutions (Figure 6). The effect of the beads in addressing prolonged well exposure and focal drift and preventing autofocus failures was evaluated at the highest dilution. In preliminary experiments, we found that this allowed for sufficient beads in each field to obtain the intended effect without compromising image appearance. It may be necessary to optimize bead dilution depending on cell dilution and objective magnification. Evaluation of the effects of the beads on cellular health was limited in the validation of this protocol. We did not observe, however, any evidence of interaction between the beads and cells (i.e., phagocytosis) or evident signs of detriment to cellular health.
General notes and troubleshooting
General notes
1. This protocol has been optimized for use with adherent cells.
2. In each experiment, the beads were diluted fresh. We found that diluting the beads and storing them in PBS resulted in aggregation (see Figure 7).
3. The exact procedure described above was used with the other beads evaluated in Experiment 1. Beads were further diluted for Experiment 1 than described in the procedure.
4. In all experiments, a well with beads was imaged before wells without beads (Figure 2). If the design of Experiment 2 is not followed, it is good practice to decide beforehand where the wells with beads will go, to ensure this can be done based on scanning options available on the microscope.
5. Autofocus was implemented by the EVOS software, which is used to control the microscope. The autofocus protocol described in the data acquisition section of the protocol was created using the Automate feature available on the EVOS software. The autofocus algorithm selected for all acquisitions is called fluorescence optimized. The algorithm is described in the EVOS manual as follows: “The focal plane is derived from the highest ratio between detailed, high-contrast objects against the background.”
6. This method has been evaluated solely on the EVOS imaging system.
Acknowledgments
Conceptualization, R.T., E.J.O., and I.G.; Investigation, I.G. and E.J.O. Writing—Original Draft, I.G.; Writing—Review & Editing, I.G., E.J.O., and R.T.; Funding acquisition, R.T.; Supervision, R.T. Funding sources: Canadian National Science and Engineering Council.
Competing interests
The authors declare no conflicts of interest.
References
Article Information
Publication history
Received: Nov 21, 2024
Accepted: May 26, 2025
Available online: Jul 11, 2025
Published: Jul 20, 2025
Copyright
© 2025 The Author(s); This is an open access article under the CC BY-NC license (https://creativecommons.org/licenses/by-nc/4.0/).
How to cite
Gibson, I., Osterlund, E. J. and Truant, R. (2025). Using Beads as a Focus Fiduciary to Aid Software-Based Autofocus Accuracy in Microscopy. Bio-protocol 15(14): e5388. DOI: 10.21769/BioProtoc.5388.
Category
Cell Biology > Cell imaging > Live-cell imaging
Do you have any questions about this protocol?
Post your question to gather feedback from the community. We will also invite the authors of this article to respond.
Tips for asking effective questions
+ Description
Write a detailed description. Include all information that will help others answer your question including experimental processes, conditions, and relevant images.
Share
Bluesky
X
Copy link