restore_and_segment
Denoise or deblur cell images and then segment them in one pipeline. Specify restoration and segmentation models, cell diameter, and channels to output masks and the restored image.
Instructions
Restore (denoise/deblur) and segment an image in one pipeline.
Args: image_path: Path to input image restoration_model: Restoration model type (oneclick_cyto3, etc.) segmentation_model: Segmentation model type (cyto3, etc.) diameter: Expected cell diameter in pixels channels: Channel specification gpu: Whether to use GPU acceleration output_path_mask: Optional path to save masks output_path_restored: Optional path to save restored image
Returns
Dictionary with combined restoration and segmentation resultsInput Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gpu | No | ||
| channels | No | ||
| diameter | No | ||
| image_path | Yes | ||
| output_path_mask | No | ||
| restoration_model | No | oneclick_cyto3 | |
| segmentation_model | No | cyto3 | |
| output_path_restored | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||