--- license: cc-by-4.0 pretty_name: CellImageNet task_categories: - image-classification tags: - biology - single-cell - cell-type-classification - DAPI - nuclear-morphology - spatial-transcriptomics - xenium size_categories: - 1M Note: the field is named `cell_type` (the fine-grained cell label). It is > *not* the coarse morphology "group" used by the MorphPT router — that grouping > lives in the model repo, not in this dataset. ## Cell-type classes The 31 harmonized cell-type labels in `cell_type`:
All 31 classes Astrocytes · B cells · Brain cancer cells · Cardiac muscle cells · Chondrocytes · Colon cancer cells · Endothelial cells · Ependymal cells · Epithelial cells · Erythrocytes · Fibroblasts · Kidney cancer cells · Liver cancer cells · Lung cancer cells · Mesangial cells · Microglia · Myeloid cells · NK cells · Neurons · OPCs · Oligodendrocytes · Ovary cancer cells · Pancreas cancer cells · Pericytes · Schwann cells · Skeletal muscle cells · Skin cancer cells · Smooth muscle cells · Stem and progenitor cells · Stromal cells · T cells
`Unknown` is **mouse-only** (~134k cells, ≈3.8% of the mouse split; no human cell carries it) and marks cells left unannotated in the source. Filter it out if you need a clean 31-class label space. ## How it was built Source: 42 Xenium samples (28 human, 14 mouse) from the [10x Genomics datasets portal](https://www.10xgenomics.com/datasets). From each tissue-wide DAPI image we used the `morphology_mip` maximum-intensity-projection channel (or `morphology_focus` when unavailable). Nuclear segmentation masks (10x Xenium Onboard Analysis) were converted to pixels at 0.2125 µm/px; cells with rasterized nuclear area < 5 px or a bounding box < 10 px in either dimension were removed. For each cell, two square crops centred on the nuclear centroid were extracted at context scales r = 2.5 and r = 10 (side length S_r = r·d, with d the per-sample mean nuclear bounding-box size) and zero-padded at image borders. Crops are stored at native resolution. ## License & attribution CellImageNet is a **derivative work** of publicly available 10x Genomics Xenium datasets. The underlying imaging data is distributed by 10x Genomics under the **Creative Commons Attribution 4.0 International ([CC BY 4.0](https://creativecommons.org/licenses/by/4.0/))** license. Because CellImageNet is derived from CC BY 4.0 material, the image crops are released under **CC BY 4.0**; the cell-type annotations and derived metadata contributed by the CellImageNet authors are likewise released under CC BY 4.0. See [`LICENSE`](LICENSE) for the full statement. Under CC BY 4.0 you may share and adapt this dataset, including commercially, provided you (1) credit 10x Genomics and the CellImageNet authors, (2) link the license, and (3) **indicate that changes were made** — the images here have been cropped/re-framed and re-annotated and are **not** the original 10x Genomics files. ### Source datasets All 42 source samples are 10x Genomics Xenium In Situ datasets from the [10x Genomics datasets portal](https://www.10xgenomics.com/datasets). Each is individually licensed CC BY 4.0 on its dataset page. The complete list of source samples (dataset name, species, tissue, condition, and its 10x dataset URL) is provided in **[`attribution_manifest.csv`](attribution_manifest.csv)** in this repository. Please cite both 10x Genomics and the individual source datasets in addition to the CellImageNet/MorphPT paper below. ## Limitations - **DAPI only** — nuclear morphology, no gene expression or protein channels (despite deriving from Xenium spatial-transcriptomics runs). - **Native-resolution crops** vary in pixel size across samples; downstream models must resize to a fixed input. - **Unsplit and imbalanced** — no official train/test split, and class frequency is highly skewed (tissue/condition sampling reflects the source datasets, not a balanced design). Subsample or reweight for classifier training. - Labels are the source annotations harmonized into 31 classes; ≈3.8% of mouse cells (none in human) are `Unknown`. ## Relation to MorphPT CellImageNet is the training corpus for **MorphPT**, a visual foundation model for cell classification. MorphPT was trained on a human-only, per-class subsampled subset of CellImageNet. - Code: - Model weights: ## Citation ```bibtex @article{cao2026visual, title = {A visual foundation model for cell classification}, author = {Cao, Ting and Zhuang, Haotian and Zhang, Boxuan and Pang, Zhiping P. and Tang, Ruixiang and Liu, Dongfang and Ji, Zhicheng}, year = {2026} } ```