measure_features
Measure region-properties features from OME-Zarr label images.
default_features()
¶
Return the default list of features to measure.
Source code in fractal_tasks_core/measure_features.py
27 28 29 | |
measure_features(*, zarr_url, input_label_name, output_table_name='region_props_features', features=Field(default_factory=default_features), input_roi_table=None, advanced_options=Field(default_factory=AdvancedOptions), overwrite=False)
¶
Extract region-properties features from an OME-Zarr image and save as a table.
This task requires a label image to be present in the OME-Zarr container.
| PARAMETER | DESCRIPTION |
|---|---|
zarr_url |
URL to the OME-Zarr container.
TYPE:
|
input_label_name |
Name of the segmentation label image to measure (must already exist in the OME-Zarr).
TYPE:
|
output_table_name |
Name for the output feature table.
TYPE:
|
features |
List of feature configurations describing which properties to extract.
TYPE:
|
input_roi_table |
Name of the ROI table to condition the feature extraction on. If None, features will be extracted for the whole label image (2D) or volume (3D).
TYPE:
|
advanced_options |
Advanced options for feature measurement.
TYPE:
|
overwrite |
Whether to overwrite an existing feature table. Defaults to False.
TYPE:
|
Source code in fractal_tasks_core/measure_features.py
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 | |