Skip to content

Commit 0b38c92

Browse files
fix ""Missing description"
1 parent 6a4d37b commit 0b38c92

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

src/ilastik_tasks/ilastik_pixel_classification_segmentation.py

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -172,34 +172,34 @@ def ilastik_pixel_classification_segmentation(
172172
"""Run Ilastik Pixel Classification on a Zarr image.
173173
174174
Args:
175-
zarr_url: Path or url to the individual OME-Zarr image to be processed.
176-
(standard argument for Fractal tasks, managed by Fractal server).
177-
level: Pyramid level of the image to be segmented. Choose `0` to
178-
process at full resolution.
179-
channel: Primary channel for pixel classification; requires either
180-
`wavelength_id` (e.g. `A01_C01`) or `label` (e.g. `DAPI`).
181-
channel2: Second channel for pixel classification (in the same format as
182-
`channel`). Use only if second channel has also been used during
183-
Ilastik model training.
184-
input_ROI_table: Name of the ROI table over which the task loops to
185-
apply Cellpose segmentation. Examples: `FOV_ROI_table` => loop over
186-
the field of views, `organoid_ROI_table` => loop over the organoid
187-
ROI table (generated by another task), `well_ROI_table` => process
188-
the whole well as one image.
189-
output_ROI_table: If provided, a ROI table with that name is created,
190-
which will contain the bounding boxes of the newly segmented
191-
labels. ROI tables should have `ROI` in their name.
192-
output_label_name: Name of the output label image (e.g. `"embryo"`).
193-
use_masks: If `True`, try to use masked loading and fall back to
194-
`use_masks=False` if the ROI table is not suitable. Masked
195-
loading is relevant when only a subset of the bounding box should
196-
actually be processed (e.g. running within `emb_ROI_table`).
197-
ilastik_model: Path to the Ilastik model (e.g. `"somemodel.ilp"`).
198-
foreground_class: Class to be considered as foreground during
199-
prediction thresholding.
200-
threshold: Probabiltiy threshold for the Ilastik model.
201-
min_size: Minimum size of the segmented objects (in pixels).
202-
overwrite: If `True`, overwrite the task output.
175+
zarr_url: Path or url to the individual OME-Zarr image to be processed.
176+
(standard argument for Fractal tasks, managed by Fractal server).
177+
level: Pyramid level of the image to be segmented. Choose `0` to
178+
process at full resolution.
179+
channel: Primary channel for pixel classification; requires either
180+
`wavelength_id` (e.g. `A01_C01`) or `label` (e.g. `DAPI`).
181+
channel2: Second channel for pixel classification (in the same format as
182+
`channel`). Use only if second channel has also been used during
183+
Ilastik model training.
184+
input_ROI_table: Name of the ROI table over which the task loops to
185+
apply Cellpose segmentation. Examples: `FOV_ROI_table` => loop over
186+
the field of views, `organoid_ROI_table` => loop over the organoid
187+
ROI table (generated by another task), `well_ROI_table` => process
188+
the whole well as one image.
189+
output_ROI_table: If provided, a ROI table with that name is created,
190+
which will contain the bounding boxes of the newly segmented
191+
labels. ROI tables should have `ROI` in their name.
192+
output_label_name: Name of the output label image (e.g. `"embryo"`).
193+
use_masks: If `True`, try to use masked loading and fall back to
194+
`use_masks=False` if the ROI table is not suitable. Masked
195+
loading is relevant when only a subset of the bounding box should
196+
actually be processed (e.g. running within `emb_ROI_table`).
197+
ilastik_model: Path to the Ilastik model (e.g. `"somemodel.ilp"`).
198+
foreground_class: Class to be considered as foreground during
199+
prediction thresholding.
200+
threshold: Probabiltiy threshold for the Ilastik model.
201+
min_size: Minimum size of the segmented objects (in pixels).
202+
overwrite: If `True`, overwrite the task output.
203203
"""
204204
logger.info(f"Processing {zarr_url=}")
205205

0 commit comments

Comments
 (0)