From 7f2723e7ae40525e53cb81209fab5143bd28fc1b Mon Sep 17 00:00:00 2001 From: Robert Haase Date: Thu, 23 Feb 2023 19:02:18 +0100 Subject: [PATCH] modified menus --- napari_segment_blobs_and_things_with_membranes/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/napari_segment_blobs_and_things_with_membranes/__init__.py b/napari_segment_blobs_and_things_with_membranes/__init__.py index f3f0bf8..7838e4e 100644 --- a/napari_segment_blobs_and_things_with_membranes/__init__.py +++ b/napari_segment_blobs_and_things_with_membranes/__init__.py @@ -719,7 +719,7 @@ def skeletonize(image: "napari.types.LabelsData") -> "napari.types.LabelsData": return result.astype(int) -@register_function(menu="Transform / project > Rescale (scikit-image, nsbatwm)") +@register_function(menu="Transforms > Rescale (scikit-image, nsbatwm)") @time_slicer def rescale(image: "napari.types.ImageData", scale_x: float = 1.0, @@ -758,7 +758,7 @@ def rescale(image: "napari.types.ImageData", return transform.rescale(image, scale=scale_factors, preserve_range=True) -@register_function(menu="Transform / project > Resize (scikit-image, nsbatwm)") +@register_function(menu="Transforms > Resize (scikit-image, nsbatwm)") @time_slicer def resize(image: "napari.types.ImageData", new_width: int = 10.0, @@ -887,6 +887,7 @@ def butterworth(image: "napari.types.ImageData", cutoff_frequency_ratio: float = @register_function(menu="Utilities > Extract slice (nsbatwm)") +@register_function(menu="Transforms > Extract slice (nsbatwm)") @jupyter_displayable_output(library_name='nsbatwm', help_url='https://www.napari-hub.org/plugins/napari-segment-blobs-and-things-with-membranes') @time_slicer def extract_slice(image:"napari.types.ImageData", slice_index:int = 0, axis:int = 0) -> "napari.types.ImageData":