|
37 | 37 | "zarr_url": { |
38 | 38 | "title": "Zarr Url", |
39 | 39 | "type": "string", |
40 | | - "description": "URL of the Zarr image." |
| 40 | + "description": "Path or url to the individual OME-Zarr image to be processed. (standard argument for Fractal tasks, managed by Fractal server)." |
41 | 41 | }, |
42 | 42 | "level": { |
43 | 43 | "title": "Level", |
44 | 44 | "type": "integer", |
45 | | - "description": "Level of the Zarr image to process." |
| 45 | + "description": "Pyramid level of the image to be segmented. Choose `0` to process at full resolution." |
46 | 46 | }, |
47 | 47 | "channel": { |
48 | 48 | "$ref": "#/$defs/ChannelInputModel", |
49 | 49 | "title": "Channel", |
50 | | - "description": "Channel input model." |
| 50 | + "description": "Primary channel for pixel classification; requires either `wavelength_id` (e.g. `A01_C01`) or `label` (e.g. `DAPI`)." |
51 | 51 | }, |
52 | | - "ilastik_model": { |
53 | | - "title": "Ilastik Model", |
54 | | - "type": "string", |
55 | | - "description": "Path to the Ilastik model." |
| 52 | + "channel2": { |
| 53 | + "allOf": [ |
| 54 | + { |
| 55 | + "$ref": "#/$defs/ChannelInputModel" |
| 56 | + } |
| 57 | + ], |
| 58 | + "title": "Channel2", |
| 59 | + "description": "Second channel for pixel classification (in the same format as `channel`). Use only if second channel has also been used during Ilastik model training." |
56 | 60 | }, |
57 | 61 | "input_ROI_table": { |
58 | 62 | "default": "FOV_ROI_table", |
59 | 63 | "title": "Input Roi Table", |
60 | 64 | "type": "string", |
61 | | - "description": "Name of the input ROI table." |
| 65 | + "description": "Name of the ROI table over which the task loops to apply Cellpose segmentation. Examples: `FOV_ROI_table` => loop over the field of views, `organoid_ROI_table` => loop over the organoid ROI table (generated by another task), `well_ROI_table` => process the whole well as one image." |
62 | 66 | }, |
63 | 67 | "output_ROI_table": { |
64 | 68 | "title": "Output Roi Table", |
65 | 69 | "type": "string", |
66 | | - "description": "Name of the output ROI table." |
| 70 | + "description": "If provided, a ROI table with that name is created, which will contain the bounding boxes of the newly segmented labels. ROI tables should have `ROI` in their name." |
67 | 71 | }, |
68 | 72 | "output_label_name": { |
69 | 73 | "title": "Output Label Name", |
70 | 74 | "type": "string", |
71 | | - "description": "Name of the output label." |
| 75 | + "description": "Name of the output label image (e.g. `\"embryo\"`)." |
| 76 | + }, |
| 77 | + "use_masks": { |
| 78 | + "default": true, |
| 79 | + "title": "Use Masks", |
| 80 | + "type": "boolean", |
| 81 | + "description": "If `True`, try to use masked loading and fall back to `use_masks=False` if the ROI table is not suitable. Masked loading is relevant when only a subset of the bounding box should actually be processed (e.g. running within `emb_ROI_table`)." |
| 82 | + }, |
| 83 | + "ilastik_model": { |
| 84 | + "title": "Ilastik Model", |
| 85 | + "type": "string", |
| 86 | + "description": "Path to the Ilastik model (e.g. `\"somemodel.ilp\"`)." |
| 87 | + }, |
| 88 | + "foreground_class": { |
| 89 | + "default": 0, |
| 90 | + "title": "Foreground Class", |
| 91 | + "type": "integer", |
| 92 | + "description": "Class to be considered as foreground during prediction thresholding." |
72 | 93 | }, |
73 | 94 | "threshold": { |
74 | | - "default": 10000, |
| 95 | + "default": 0.5, |
75 | 96 | "title": "Threshold", |
76 | | - "type": "integer", |
77 | | - "description": "Threshold for the Ilastik model." |
| 97 | + "type": "number", |
| 98 | + "description": "Probabiltiy threshold for the Ilastik model." |
78 | 99 | }, |
79 | 100 | "min_size": { |
80 | | - "default": 3, |
| 101 | + "default": 15, |
81 | 102 | "title": "Min Size", |
82 | 103 | "type": "integer", |
83 | | - "description": "Minimum size for the Ilastik model." |
84 | | - }, |
85 | | - "use_masks": { |
86 | | - "default": true, |
87 | | - "title": "Use Masks", |
88 | | - "type": "boolean", |
89 | | - "description": "Whether to use masks." |
| 104 | + "description": "Minimum size of the segmented objects (in pixels)." |
90 | 105 | }, |
91 | 106 | "overwrite": { |
92 | 107 | "default": true, |
93 | 108 | "title": "Overwrite", |
94 | 109 | "type": "boolean", |
95 | | - "description": "Whether to overwrite existing data." |
| 110 | + "description": "If `True`, overwrite the task output." |
96 | 111 | } |
97 | 112 | }, |
98 | 113 | "required": [ |
|
0 commit comments