estimate_cell_diameter
Estimate cell diameter from an image using Cellpose's size model. Returns diameter and confidence for segmentation.
Instructions
Estimate cell diameter from an image using Cellpose size model.
Args: image_path: Path to input image model_type: Model type to use for estimation channels: Channel specification gpu: Whether to use GPU acceleration
Returns
Dictionary with estimated diameter and confidenceTool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"image_path": "<image_path>"
},
"name": "estimate_cell_diameter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gpu | No | ||
| channels | No | ||
| image_path | Yes | ||
| model_type | No | cyto3 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||