{
  "name": "napari-segment-blobs-and-things-with-membranes",
  "display_name": "napari-segment-blobs-and-things-with-membranes",
  "visibility": "public",
  "icon": "",
  "categories": [],
  "schema_version": "0.2.1",
  "on_activate": null,
  "on_deactivate": null,
  "contributions": {
    "commands": [
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "gaussian_blur",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "subtract_background",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "threshold_otsu",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "threshold_yen",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "threshold_isodata",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "threshold_li",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "threshold_mean",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "threshold_minimum",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "threshold_triangle",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "binary_invert",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "split_touching_objects",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "connected_component_labeling",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "seeded_watershed",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "voronoi_otsu_labeling",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "gauss_otsu_labeling",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "gaussian_laplace",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "median_filter",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "mode_filter",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "maximum_filter",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "minimum_filter",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "percentile_filter",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "black_tophat",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "white_tophat",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "morphological_gradient",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "local_minima_seeded_watershed",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "thresholded_local_minima_seeded_watershed",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "sum_images",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "multiply_images",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "divide_images",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "invert_image",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "skeletonize",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "Manually_merge_labels",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "Manually_split_labels",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "rescale",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "resize",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "extract_slice",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "grayscale_erosion",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "binary_erosion",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "grayscale_dilation",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "binary_dilation",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "grayscale_closing",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "binary_closing",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "grayscale_opening",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "title": "binary_opening",
        "python_name": "napari_segment_blobs_and_things_with_membranes:napari_experimental_provide_function",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      }
    ],
    "readers": null,
    "writers": null,
    "widgets": [
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "gaussian_blur",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "subtract_background",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "threshold_otsu",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "threshold_yen",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "threshold_isodata",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "threshold_li",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "threshold_mean",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "threshold_minimum",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "threshold_triangle",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "binary_invert",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "split_touching_objects",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "connected_component_labeling",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "seeded_watershed",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "voronoi_otsu_labeling",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "gauss_otsu_labeling",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "gaussian_laplace",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "median_filter",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "mode_filter",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "maximum_filter",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "minimum_filter",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "percentile_filter",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "black_tophat",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "white_tophat",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "morphological_gradient",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "local_minima_seeded_watershed",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "thresholded_local_minima_seeded_watershed",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "sum_images",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "multiply_images",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "divide_images",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "invert_image",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "skeletonize",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "Manually_merge_labels",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "Manually_split_labels",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "rescale",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "resize",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "extract_slice",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "grayscale_erosion",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "binary_erosion",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "grayscale_dilation",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "binary_dilation",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "grayscale_closing",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "binary_closing",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "grayscale_opening",
        "autogenerate": true
      },
      {
        "command": "napari-segment-blobs-and-things-with-membranes.napari_experimental_provide_function",
        "display_name": "binary_opening",
        "autogenerate": true
      }
    ],
    "sample_data": null,
    "themes": null,
    "menus": {},
    "submenus": null,
    "keybindings": null,
    "configuration": []
  },
  "package_metadata": {
    "metadata_version": "2.1",
    "name": "napari-segment-blobs-and-things-with-membranes",
    "version": "0.3.12",
    "dynamic": null,
    "platform": null,
    "supported_platform": null,
    "summary": "A plugin based on scikit-image for segmenting nuclei and cells based on fluorescent microscopy images with high intensity in nuclei and/or membranes",
    "description": "# napari-segment-blobs-and-things-with-membranes (nsbatwm)\n\n[![License](https://img.shields.io/pypi/l/napari-segment-blobs-and-things-with-membranes.svg?color=green)](https://github.com/haesleinhuepf/napari-segment-blobs-and-things-with-membranes/raw/master/LICENSE)\n[![PyPI](https://img.shields.io/pypi/v/napari-segment-blobs-and-things-with-membranes.svg?color=green)](https://pypi.org/project/napari-segment-blobs-and-things-with-membranes)\n[![Python Version](https://img.shields.io/pypi/pyversions/napari-segment-blobs-and-things-with-membranes.svg?color=green)](https://python.org)\n[![tests](https://github.com/haesleinhuepf/napari-segment-blobs-and-things-with-membranes/workflows/tests/badge.svg)](https://github.com/haesleinhuepf/napari-segment-blobs-and-things-with-membranes/actions)\n[![codecov](https://codecov.io/gh/haesleinhuepf/napari-segment-blobs-and-things-with-membranes/branch/master/graph/badge.svg)](https://codecov.io/gh/haesleinhuepf/napari-segment-blobs-and-things-with-membranes)\n[![Development Status](https://img.shields.io/pypi/status/napari-segment-blobs-and-things-with-membranes.svg)](https://en.wikipedia.org/wiki/Software_release_life_cycle#Alpha)\n[![napari hub](https://img.shields.io/endpoint?url=https://api.napari-hub.org/shields/napari-segment-blobs-and-things-with-membranes)](https://napari-hub.org/plugins/napari-segment-blobs-and-things-with-membranes)\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.7027634.svg)](https://doi.org/10.5281/zenodo.7027634)\n\nThis napari-plugin is based on scikit-image and allows segmenting nuclei and cells based on fluorescence microscopy images with high intensity in nuclei and/or membranes.\n\n## Usage\n\nThis plugin populates image processing operations to the `Tools` menu in napari.\nYou can recognize them with their suffix `(nsbatwm)` in brackets.\nFurthermore, it can be used from the [napari-assistant](https://www.napari-hub.org/plugins/napari-assistant) graphical user interface. \nTherefore, just click the menu `Tools > Utilities > Assistant (na)` or run `naparia` from the command line.\n\n![img.png](https://github.com/haesleinhuepf/napari-segment-blobs-and-things-with-membranes/raw/main/docs/tools_menu_screenshot.png)\n\nYou can also call these functions as shown in [the demo notebook](https://github.com/haesleinhuepf/napari-segment-blobs-and-things-with-membranes/blob/main/docs/demo.ipynb).\n\n### Voronoi-Otsu-Labeling\n\nThis algorithm uses [Otsu's thresholding method](https://ieeexplore.ieee.org/document/4310076) in combination with \n[Gaussian blur](https://scikit-image.org/docs/dev/api/skimage.filters.html#skimage.filters.gaussian) and a \n[Voronoi-Tesselation](https://en.wikipedia.org/wiki/Voronoi_diagram) \napproach to label bright objects such as nuclei in an intensity image. The alogrithm has two sigma parameters which allow\nyou to fine-tune where objects should be cut (`spot_sigma`) and how smooth outlines should be (`outline_sigma`).\nThis implementation aims to be similar to [Voronoi-Otsu-Labeling in clesperanto](https://github.com/clEsperanto/pyclesperanto_prototype/blob/master/demo/segmentation/voronoi_otsu_labeling.ipynb).\n\n![img.png](https://github.com/haesleinhuepf/napari-segment-blobs-and-things-with-membranes/raw/main/docs/voronoi_otsu_labeling.png)\n\n### Seeded Watershed\n\nStarting from an image showing high-intensity membranes and a seed-image where objects have been labeled (e.g. using Voronoi-Otsu-Labeling),\nobjects are labeled that are constrained by the membranes.\n\n![img.png](https://github.com/haesleinhuepf/napari-segment-blobs-and-things-with-membranes/raw/main/docs/seeded_watershed.png)\n\n### Seeded Watershed with mask\n\nIf there is additionally a mask image available, one can use the `Seeded Watershed with mask`, to constraint the flooding \non a membrane image (1), starting from nuclei (2), limited by a mask image (3) to produce a cell segmentation within the mask (4).\n\n![img.png](https://github.com/haesleinhuepf/napari-segment-blobs-and-things-with-membranes/raw/main/docs/seeded_watershed_with_mask.png)\n\n### Seeded Watershed using local minima as starting points\n\nSimilar to the Seeded Watershed and Voronoi-Otsu-Labeling explained above, you can use this tool to segment an image\nshowing membranes without an additional image showing nuclei. The two sigma parameters allow to fine tune how close \nobjects can be and how precise their boundaries are detected.\n\n![img.png](https://github.com/haesleinhuepf/napari-segment-blobs-and-things-with-membranes/raw/main/docs/local_minima_seeded_watershed.png)\n\n### Gaussian blur\n\nApplies a [Gaussian blur](https://scikit-image.org/docs/dev/api/skimage.filters.html#skimage.filters.gaussian) to an\nimage. This might be useful for denoising, e.g. before applying the Threshold-Otsu method.\n\n![img.png](https://github.com/haesleinhuepf/napari-segment-blobs-and-things-with-membranes/raw/main/docs/gaussian_blur.png)\n\n### Subtract background\n\nSubtracts background using [scikit-image's rolling-ball algorithm](https://scikit-image.org/docs/stable/auto_examples/segmentation/plot_rolling_ball.html). \nThis might be useful, for example to make intensity of membranes more similar in different regions of an image.\n\n![img.png](https://github.com/haesleinhuepf/napari-segment-blobs-and-things-with-membranes/raw/main/docs/subtract_background.png)\n\n### Threshold Otsu\n\nBinarizes an image using [scikit-image's threshold Otsu algorithm](https://scikit-image.org/docs/dev/auto_examples/segmentation/plot_thresholding.html), also known as \n[Otsu's method](https://ieeexplore.ieee.org/document/4310076).\n\n![img.png](https://github.com/haesleinhuepf/napari-segment-blobs-and-things-with-membranes/raw/main/docs/threshold_otsu.png)\n\n### Split touching objects (formerly known as binary watershed).\n\nIn case objects stick together after thresholding, this tool might help.\nIt aims to deliver similar results as [ImageJ's watershed implementation](https://imagej.nih.gov/ij/docs/menus/process.html#watershed).\n\n![img.png](https://github.com/haesleinhuepf/napari-segment-blobs-and-things-with-membranes/raw/main/docs/binary_watershed.png)\n\n### Connected component labeling\n\nTakes a binary image and produces a label image with all separated objects labeled differently. Under the hood, it uses\n[scikit-image's label function](https://scikit-image.org/docs/dev/auto_examples/segmentation/plot_label.html).\n\n![img.png](https://github.com/haesleinhuepf/napari-segment-blobs-and-things-with-membranes/raw/main/docs/connected_component_labeling.png)\n\n### Manual split and merge labels\n\nSplit and merge labels in napari manually via the `Tools > Utilities menu`:\n\n![](https://github.com/haesleinhuepf/napari-segment-blobs-and-things-with-membranes/raw/main/docs/split_and_merge_demo.gif)\n\n----------------------------------\n\nThis [napari] plugin was generated with [Cookiecutter] using with [@napari]'s [cookiecutter-napari-plugin] template.\n\n## Installation\n\nThis plugin is part of devbio-napari. To install it, please follow its [installation instructions](https://github.com/haesleinhuepf/devbio-napari#installation).\n\n## Contributing\n\nContributions are very welcome. Tests can be run with [tox], please ensure\nthe coverage at least stays the same before you submit a pull request.\n\n## License\n\nDistributed under the terms of the [BSD-3] license,\n\"napari-segment-blobs-and-things-with-membranes\" is free and open source software\n\n## Issues\n\nIf you encounter any problems, please create a thread on [image.sc] along with a detailed description and tag [@haesleinhuepf].\n\n[napari]: https://github.com/napari/napari\n[Cookiecutter]: https://github.com/audreyr/cookiecutter\n[@napari]: https://github.com/napari\n[MIT]: http://opensource.org/licenses/MIT\n[BSD-3]: http://opensource.org/licenses/BSD-3-Clause\n[GNU GPL v3.0]: http://www.gnu.org/licenses/gpl-3.0.txt\n[GNU LGPL v3.0]: http://www.gnu.org/licenses/lgpl-3.0.txt\n[Apache Software License 2.0]: http://www.apache.org/licenses/LICENSE-2.0\n[Mozilla Public License 2.0]: https://www.mozilla.org/media/MPL/2.0/index.txt\n[cookiecutter-napari-plugin]: https://github.com/napari/cookiecutter-napari-plugin\n\n[file an issue]: https://github.com/haesleinhuepf/napari-segment-blobs-and-things-with-membranes/issues\n\n[napari]: https://github.com/napari/napari\n[tox]: https://tox.readthedocs.io/en/latest/\n[pip]: https://pypi.org/project/pip/\n[PyPI]: https://pypi.org/\n\n[image.sc]: https://image.sc\n[@haesleinhuepf]: https://twitter.com/haesleinhuepf\n",
    "description_content_type": "text/markdown",
    "keywords": null,
    "home_page": "https://github.com/haesleinhuepf/napari-segment-blobs-and-things-with-membranes",
    "download_url": null,
    "author": "Robert Haase",
    "author_email": "robert.haase@tu-dresden.de",
    "maintainer": null,
    "maintainer_email": null,
    "license": "BSD-3-Clause",
    "classifier": [
      "Development Status :: 3 - Alpha",
      "Intended Audience :: Science/Research",
      "Framework :: napari",
      "Topic :: Scientific/Engineering :: Image Processing",
      "Topic :: Scientific/Engineering :: Information Analysis",
      "Programming Language :: Python",
      "Programming Language :: Python :: 3",
      "Programming Language :: Python :: 3.8",
      "Programming Language :: Python :: 3.9",
      "Programming Language :: Python :: 3.10",
      "Operating System :: OS Independent",
      "License :: OSI Approved :: BSD License"
    ],
    "requires_dist": [
      "napari-plugin-engine>=0.1.4",
      "numpy",
      "scikit-image",
      "scipy",
      "napari-tools-menu>=0.1.17",
      "napari-time-slicer>=0.4.8",
      "napari-assistant",
      "stackview>=0.9.1"
    ],
    "requires_python": ">=3.8",
    "requires_external": null,
    "project_url": [
      "Bug Tracker, https://github.com/haesleinhuepf/napari-segment-blobs-and-things-with-membranes/issues",
      "Documentation, https://github.com/haesleinhuepf/napari-segment-blobs-and-things-with-membranes#README.md",
      "Source Code, https://github.com/haesleinhuepf/napari-segment-blobs-and-things-with-membranes",
      "User Support, https://github.com/haesleinhuepf/napari-segment-blobs-and-things-with-membranes/issues"
    ],
    "provides_extra": null,
    "provides_dist": null,
    "obsoletes_dist": null
  },
  "npe1_shim": true
}