Method Article

Using Computer Vision Libraries to Streamline Nuclei Quantification

DOI:

10.3791/67945

June 6th, 2025

In This Article

Summary

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

This article describes step-by-step methods to automate image-based nuclei quantification using an open-source executable program validated across a range of cell densities. This program provides an alternative that addresses barriers related to cost, accessibility for users with limited technological skillsets, and application-specific validation that may limit utility of existing technologies.

Abstract

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

Live cell assays and image-based cell analyses require data normalization for accurate interpretation. A commonly used method is to stain and quantify nuclei, followed by data normalization to nuclei count. This nuclei count is often expressed as cell count for uninucleate cells. While manual quantification can be laborious and time-consuming, available automated methods may not be preferred by all users, may lack validation for this specific application, or may be cost-prohibitive. Here, we provide step-by-step instructions for capturing quantifiable images of nuclei stained with fluorescent DNA stains and subsequently quantifying the nuclei using an automated object counting software program developed using Python computer vision libraries. We also validate this program across a range of cell densities. Although the exact time for program execution varies based on the number of images and computer hardware, this program consolidates hours of work counting nuclei into seconds for the program to run. While this protocol was developed using images of fixed, stained cells, images of stained nuclei in live cells and immunofluorescence applications can also be quantified using this program. Ultimately, this program provides an option that does not require a high degree of technological skill and is a validated, open-source alternative to aid cell and molecular biologists in streamlining their workflows, automating the tedious and time-consuming task of nuclei quantification.

Introduction

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

Functional and image-based experiments are critical for understanding the impacts of experimental treatments on whole-cell biochemistry and physiology. Valid interpretation of data from cell biology experiments depends on the accuracy and reproducibility of the experimental protocol, including data normalization. For example, analyses of oxygen consumption and extracellular acidification rates in live cells at baseline and after treatment with specific drugs allow for the assessment of various aspects of energy metabolism1,2. Measuring the activity of enzymes such as lactate dehydrogenase in the supernatant of....

Access restricted. Please log in or start a trial to view this content.

Protocol

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

NOTE: Supplemental files can be found at the following link https://osf.io/a2s4d/?view_only=2d1042eb8f7c4c4a84579fe4e84fb03c

1. Capturing and saving images using fluorescence microscopy

  1. Prepare cell or tissue samples to be imaged, including staining with desired DNA dye. To obtain the images used here, C2C12 myoblasts (CRL-1772, American Type Culture Collection) were grown in 6-well plates for 48-72 h under standard culture conditions (5% CO2, 37 °C, humidified), with or without 50 mM EtOH6, and fixed in ice-cold methanol as previously described13. Fixed cells were m....

Access restricted. Please log in or start a trial to view this content.

Results

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

Each batch image run produces: 1) a set of image files with contours applied showing the outlines of identified nuclei (Figure 5), and 2) a .csv file (spreadsheet) linking image file names and the associated counts. Viewing the contours will allow the user to visually assess the count quality. Specifically, images obtained according to section 1 should have all (or nearly all) nuclei surrounded by a solid green line indicating that the nucleus was counted by .......

Access restricted. Please log in or start a trial to view this content.

Discussion

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

Our nuclei quantification program has several advantages over existing options: it requires only minimal technological skills, is validated for the specific task of nuclei quantification, and is open-source; the latter overcomes cost-related barriers. Ultimately, this program provides cell and molecular biologists with an additional option to quickly and accurately quantify nuclei in images captured using fluorescence microscopy. Currently available automated nuclei or cell counting programs are not preferred by all user.......

Access restricted. Please log in or start a trial to view this content.

Disclosures

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

The authors declare no conflicts of interest.

Acknowledgements

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

Funding for this work was provided by the National Institutes of Health/National Institute on Aging (R01AG084597; DEL and HYL) and by start-up funds from Texas Tech University (DEL). The authors would like to thank the Texas Tech University Undergraduate Research Scholars and TrUE Scholars programs for providing financial support to the undergraduate researchers who contributed to this work (REH, MRD, CJM, AKW). We also thank Drs. Lauren S. Gollahon and Michael P. Massett for graciously sharing their laboratory space and equipment.

....

Access restricted. Please log in or start a trial to view this content.

Materials

List of materials used in this article
NameCompanyCatalog NumberComments
Computer with access to results file from method 2 or 3--See step 2.6 (for Method 2) or step 3.3.9 or 3.4.9 (for Method 3)
Computer with internet access, modern browser--e.g., Google Chrome
Computer with internet access, modern browser, and Windows OSVariesVariesFor Mac, Linux, or other OS, use Method 3
Computer with software for image captureZeissAxioVisionOther software is acceptable; must be compatible with the fluorescence microscope
File location for output (results spreadsheet and image contours)--Can be a new, empty folder
Fluorescence microscopeZeissAxiovert 200MOther fluorescence microscopes are acceptable; must be equipped with appropriate filter cubes, desired objective, and camera 
Folder containing all images to be quantified--See step 1.12
Python version 3.10 or higherPython-Available for free download and installation at https://www.python.org/downloads/ 
Samples to be imaged--Fixed or live, stained or counterstained with fluorescent DNA dyes
Spreadsheet softwareMicrosoftExcelSimilar spreadsheet software is also acceptable

References

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,
  1. Chacko, B. K., et al. The bioenergetic health index: A new concept in mitochondrial translational research. Clin Sci. 127 (6), 367-373 (2014).
  2. Desousa, B. R., et al. Calculation of ATP production rates using the Seahorse XF Analyzer. EMBO Rep....

Access restricted. Please log in or start a trial to view this content.

Reprints and Permissions

Request permission to reuse the text or figures of this JoVE article

Request Permission

Tags

Nuclei QuantificationComputer VisionAutomated Object CountingFluorescent DNA StainsImage Based Cell AnalysisData NormalizationPython Computer VisionCell AssaysOpen Source WorkflowCell Count

Related Articles