Skip to content

Commit

Permalink
modified menus
Browse files Browse the repository at this point in the history
  • Loading branch information
haesleinhuepf committed Feb 23, 2023
1 parent a34b027 commit 7f2723e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions napari_segment_blobs_and_things_with_membranes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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":
Expand Down

0 comments on commit 7f2723e

Please sign in to comment.