|
4 | 4 | from napari_skimage_regionprops._all_frames import analyze_all_frames |
5 | 5 | from napari_tools_menu import register_function |
6 | 6 |
|
7 | | -@register_function(menu="Measurement > Label statistics (clEsperanto)") |
| 7 | +@register_function(menu="Measurement tables > Label statistics (clEsperanto)") |
8 | 8 | def label_statistics(intensity_image: "napari.types.ImageData", |
9 | 9 | label_image: "napari.types.LabelsData", |
10 | 10 | intensity:bool = True, |
@@ -65,14 +65,14 @@ def label_statistics(intensity_image: "napari.types.ImageData", |
65 | 65 | warnings.warn("Image and labels must be set.") |
66 | 66 |
|
67 | 67 | regionprops_table_all_frames = analyze_all_frames(label_statistics) |
68 | | -register_function(regionprops_table_all_frames, menu="Measurement > Label statistics of all frames (clEsperanto)") |
| 68 | +register_function(regionprops_table_all_frames, menu="Measurement tables > Label statistics of all frames (clEsperanto)") |
69 | 69 |
|
70 | 70 | def copy_keys(source, target, keys): |
71 | 71 | for k in keys: |
72 | 72 | target[k] = source[k] |
73 | 73 |
|
74 | 74 |
|
75 | | -@register_function(menu="Measurement > Statistics of labeled pixels (deprecated, clEsperanto)") |
| 75 | +@register_function(menu="Measurement tables > Statistics of labeled pixels (deprecated, clEsperanto)") |
76 | 76 | def statistics_of_labeled_pixels(image: "napari.types.ImageData", labels: "napari.types.LabelsData", measure_background=False, napari_viewer : "napari.Viewer"=None) -> "pandas.DataFrame": |
77 | 77 | """ |
78 | 78 | Adds a table widget to a given napari viewer with quantitative analysis results derived from an image-labelimage pair. |
@@ -117,7 +117,7 @@ def statistics_of_labeled_pixels(image: "napari.types.ImageData", labels: "napar |
117 | 117 | from morphometrics._gui._qt.measurement_widgets import QtMeasurementWidget |
118 | 118 | register_dock_widget( |
119 | 119 | QtMeasurementWidget, |
120 | | - "Measurement > Region properties (morphometrics)" |
| 120 | + "Measurement tables > Region properties (morphometrics)" |
121 | 121 | ) |
122 | 122 | except: |
123 | 123 | pass |
0 commit comments