For the complete documentation index, see llms.txt. This page is also available as Markdown.

Cell and Nuclei Contours CSVs

Cell and Nuclei Contours CSV files contain the approximated contour coordinates of each individual cell or nucleus detected through tissue image segmentation analysis. Each Contours CSV file has three columns:

  • cell_id: A unique identifier for each individual cell or nucleus within the segmentation mask.

  • vertex_x: The global x-coordinate of a contour point corresponding to the cell_id (unit: µm).

  • vertex_y: The global y-coordinate of a contour point corresponding to the cell_id (unit: µm).

An example of a Contours CSV file:

cell_id,vertex_x,vertex_y
1,36296.0,3863.2
1,36291.8,3862.0
1,36291.8,3857.0
1,36294.0,3854.8
1,36299.2,3857.0
1,36299.2,3861.0
1,36296.0,3863.2
2,36523.0,3730.2
2,36520.0,3730.2
2,36516.8,3728.0
2,36515.8,3723.0
2,36517.0,3721.8
2,36521.0,3721.8
2,36523.2,3724.0
2,36524.2,3728.0
2,36523.0,3730.2
3,36367.0,3869.2
3,36364.0,3869.2
3,36362.8,3868.0

View Contour File over Microscope Image

The following Python code demonstrates how to load the registered image from the OME-TIFF file and the corresponding CSV file containing nuclei or cell contour coordinates, then overlay these contours on the tissue image for visualization.

Last updated

Was this helpful?