$$\rightleftharpoonup{xx}$$
$$\longleftharp{xx}$$,
$$\longrightharp{xx}$$,
Software is routinely implemented during image analysis techniques to ensure that the results are accurate, efficient, and unbiased. For cell-based assays, a common problem is the misidentification of cells. Images with improper focal and contrast settings may lead to cell blurring, in which the boundary of individual cells becomes hard to identify1. The presence of extraneous image features such as pores, bubbles, or other undesired objects can hamper counting procedures by slowing the counting process and leading to misidentification. Furthermore, cell counting can be onerous, and counting hundreds of replicates can be extremely time-consuming. Moreover, an inherent subjective bias exists during manual counting, and therefore decision-making regarding cell identification is often inaccurate2. Automated software offers exciting potential to bypass all these issues by rapidly and precisely differentiating cells from extraneous objects, including objects far beyond human capacity for precise detection, based on well-defined identification criteria that reduce the influence of investigator bias. Common techniques to identify cells using automated software involve two main methods: segmentation and thresholding3. Herein, we demonstrate a generalizable area-based protocol that enables rapid, accurate, and inexpensive cell counting within a widely accessible software framework.
Segmentation techniques, such as edge detection, seek to isolate individual cells by utilizing intensity differences within an image. Intensity changes that distinguish a cell from the rest of the image most often consist of sharp changes in brightness4. Edge detection involves a regularizing filtering step, followed by a differentiation step in which intensity changes are detected. The differentiation process identifies edges and contours within the image of high-intensity changes, and these edges and contours are correlated with cell presence. Although images with noise can be run through denoising algorithms4, edge detection techniques are ideally used for analyzing images with low background noise. The process functions optimally when cell boundaries are clearly and easily distinguishable and are not impeded by brightness contours unrelated to cell presence, cell blur, extraneous objects, or defined internal cell structures1,2. If an image is particularly noisy, cells may be further distinguished through fluorescent staining or transfection with fluorescent proteins2,5. Although this significantly improves the accuracy of segmentation techniques, it requires added costs and additional time investments to prepare cell cultures for imaging.
Thresholding techniques involve the division of an image into two categories: the foreground and the background, with cells assigned to the foreground3. These techniques utilize color/contrast changes to define the apparent height of an object; objects that are routinely 'taller' than the background can be easily identified as cells. The watershed-transform functions in this way by associating surfaces with light pixels as the foreground and those with dark pixels as the background6,7. Through height-based identification, thresholding techniques can routinely distinguish noise from desired objects, provided they exist within the same focal plane. When paired with an area-based quantification, a watershed-transform can accurately identify groups of objects in environments where typical segmentation techniques such as edge detection would be inaccurate.
Watershed-transforms are commonly coupled with segmentation techniques to prepare images for a cleaner analysis, resulting in higher accuracy of cell counting. For this process, the watershed-transform is used to highlight potential regions of interest prior to segmentation. A watershed-transform provides unique benefits by identifying cells in the foreground of images, which can improve the accuracy of segmentation analysis by removing potential false positives for cells, such as uneven patches of background. However, difficulties can arise when attempting to adapt cell-based images to a watershed-transform. Images with high cell density can be plagued with undersegmentation, in which aggregates of cells are identified as a singular group rather than as individual components. The presence of noise or sharp intensity changes can also result in oversegmentation, in which the algorithm overisolates cells, resulting in excessive and inaccurate cell counts8.
Herein, we detail a method to minimize the primary drawbacks of the watershed-transform by incorporating components of a thresholding analysis within an area-based quantification algorithm, as depicted in Figure 1. Notably, this algorithm was implemented with open-source and/or widely available software, and application of this cell-counting framework was possible without expensive reagents or complex cell preparation techniques. RAW264.7 macrophages were used to demonstrate the method due to their critical role in regulating connective tissue maintenance and wound healing processes9. Additionally, NIH/3T3 fibroblasts were analyzed due to their key role in tissue maintenance and repair. Fibroblast cells often coexist with and support macrophages, generating the need to distinguish these phenotypically distinct cell types in coculture studies.
Cell counts from images with high viable cell density (VCD) could be quantified reliably and efficiently by calculating the area covered by the cells, and the average area occupied by a singular cell. The use of thresholding as opposed to segmentation for cell identification also enabled more complex analyses, such as experiments in which different cell types in cocultures were analyzed concurrently. NIH/3T3 fibroblasts, which are often found to colocalize with RAW264.7 macrophages within a wound healing site, were found to grow at a focal plane that was distinct from the focal plane of macrophages10. Accordingly, multiple thresholding algorithms were run to define the background and foreground depending on the cell type being analyzed, enabling accurate counting of two different cell types within the same image.