A methodology for morphological feature extraction and unsupervised cell classification

Dhananjay Bhaskar, Darrick Lee, Hildur Knútsdóttir, Cindy Tan, Mohan Zhang, P.m. Dean, Calvin D. Roskelley, Leah Edelstein‐KeshetbioRxiv 2019

Abstract

Cell morphology is an important indicator of cell state, function, stage of development, and fate in both normal and pathological conditions. Cell shape is among key indicators used by pathologists to identify abnormalities or malignancies. With rapid advancements in the speed and amount of biological data acquisition, including images and movies of cells, computer-assisted identification and analysis of images becomes essential. Here, we report on techniques for recognition of cells in microscopic images and automated cell shape classification. We illustrate how our unsupervised machine-learning-based approach can be used to classify distinct cell shapes from a large number of microscopic images.

Introduction

The size, shape, and structure of a cell—collectively known as its morphology—provide a window into its health and developmental trajectory. In clinical settings, pathologists rely on these visual cues to diagnose malignancies. However, manual analysis is inherently subjective and slow, making it ill-suited for the high-throughput data generated by modern microscopy.

While supervised deep learning techniques, such as Convolutional Neural Networks (CNNs), have made significant strides in image analysis, they are limited by the need for massive, human-annotated "ground truth" datasets. In many research contexts, these labels do not exist, or the objective is to discover previously unknown morphological states. This study introduces a modular, unsupervised pipeline designed to segment and classify cells based on their inherent physical properties without requiring pre-labeled training data.

Methodology

The researchers developed a multi-stage workflow optimized for phase-contrast microscopy, which is notoriously difficult to analyze due to low contrast and characteristic "halos" around biological structures.

1. Segmentation

The process begins with a hybrid segmentation approach. It utilizes Sobel-Feldman edge detection combined with mathematical morphology (dilation and filling) and a marker-based watershed transform. To ensure high data quality, the system employs a semi-supervised step where a human expert validates the segmented cells before they proceed to feature extraction.

2. Feature Extraction

Rather than relying on a single metric, the pipeline computes a comprehensive vector of 30 distinct features for every cell:

  • Hu’s Moment Invariants: Descriptors that remain consistent regardless of the cell's scale, rotation, or translation.
  • Geometrical Fits: Fitting shapes like ellipses and rectangles to measure eccentricity and Feret diameters.
  • Boundary Features: Using cubic spline interpolation to map local curvature, enabling the mathematical identification of protrusions (e.g., filopodia) and indentations.
  • Shape Factors: Non-dimensional metrics such as circularity, solidity, and extent.

3. Dimensionality Reduction and Clustering

To interpret this high-dimensional data, the team compared Principal Component Analysis (PCA) with t-Distributed Stochastic Neighborhood Embedding (t-SNE). For the final classification, they utilized HDBSCAN (Hierarchical Density-Based Spatial Clustering of Applications with Noise), an algorithm that identifies clusters based on density without requiring a pre-defined number of groups.

Results and Discussion

The methodology was validated using phase-contrast images of the MIA PaCa-2 human pancreatic cancer cell line. From 40 images, 310 high-quality segmented cells were analyzed.

The Superiority of t-SNE

A key finding was the performance difference between dimensionality reduction techniques. While PCA captured 70% of the variance within three components, it failed to produce distinct clusters. In contrast, t-SNE effectively preserved local structures, allowing the system to resolve subtle morphological differences.

Morphological Discovery

The t-SNE + HDBSCAN approach successfully identified 27 distinct morphological clusters within the cell population. These ranged from simple circular and lens-shaped cells to complex "spindly" or "lumpy" variations. Additionally, the system identified 19 "outlier" cells, demonstrating its ability to handle noise and atypical samples without compromising the integrity of the primary clusters.

Feature Importance

The study concluded that a diverse feature set is necessary for accurate classification. Using only scale-invariant shape factors proved insufficient, as cell size itself is a critical biological differentiator. The inclusion of boundary curvature was particularly valuable, providing a mathematical basis for identifying migratory phenotypes characterized by long, thin "tails."

Conclusion

This unsupervised pipeline offers a robust framework for automated cell analysis in label-free environments. By combining traditional image processing with modern density-based clustering, the system can discover natural morphological categories in complex biological samples. Future developments will focus on fully automating the segmentation stage using supervised models like U-Net and extending the methodology to 3D volumetric data from confocal microscopy.

Summary updated

BibTeX
@misc{bhaskar2019methodology,
  author = {Dhananjay Bhaskar and Darrick Lee and Hildur Knútsdóttir and Cindy Tan and Mohan Zhang and P.M. Dean and Calvin D. Roskelley and Leah Edelstein‐Keshet},
  title = {{A methodology for morphological feature extraction and unsupervised cell classification}},
  year = {2019},
  doi = {10.1101/623793},
  howpublished = {bioRxiv},
}
Figure