Classify cell types
classify_cellsClassify detected nuclei on H&E images into tumour, immune, connective, dead, or epithelial cell types, returning counts, percentages, and immune-to-tumour ratio.
Instructions
Classify the nuclei detect_nuclei saved on an H&E image as tumour, immune, connective tissue, dead or normal epithelial cells, and wait up to wait_seconds for the result.
Runs HoVer-Net (PanNuke weights, CC BY-NC-SA 4.0: research and education only) in the background, about 30 to 90 seconds per image: each nucleus annotation is relabelled with its type, and the result has counts, percentages and the immune-to-tumour ratio. Run detect_nuclei first. Needs a 20x or 40x image: coarser images are refused, because enlarging them can't add the detail the model reads. If it's still running when the wait ends, call it again (it waits for the same run).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_id | Yes | Id of an image in Image Label: the imageId (a UUID string) returned by list_images or an upload. | |
| wait_seconds | No | How long to wait for the result; if it isn't ready, call again later to read it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||