{
  "name": "napari-3d-label-eraser",
  "display_name": "3D Label Eraser",
  "visibility": "public",
  "icon": "",
  "categories": [],
  "schema_version": "0.2.1",
  "on_activate": null,
  "on_deactivate": null,
  "contributions": {
    "commands": [
      {
        "id": "napari-3d-label-eraser.erase_widget",
        "title": "Open 3D Label Eraser",
        "python_name": "napari_3d_label_eraser._widget:erase_current_label",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      },
      {
        "id": "napari-3d-label-eraser.register_keybinding",
        "title": "Register Keybinding",
        "python_name": "napari_3d_label_eraser._widget:register_keybinding",
        "short_title": null,
        "category": null,
        "icon": null,
        "enablement": null
      }
    ],
    "readers": null,
    "writers": null,
    "widgets": [
      {
        "command": "napari-3d-label-eraser.erase_widget",
        "display_name": "3D Label Eraser",
        "autogenerate": false
      }
    ],
    "sample_data": null,
    "themes": null,
    "menus": {},
    "submenus": null,
    "keybindings": null,
    "configuration": []
  },
  "package_metadata": {
    "metadata_version": "2.4",
    "name": "napari-3d-label-eraser",
    "version": "0.1.3",
    "dynamic": [
      "license-file"
    ],
    "platform": null,
    "supported_platform": null,
    "summary": "Simple napari plugin to erase the current label value in 3D for an entire Labels volume.",
    "description": "# napari-3d-label-eraser\n\n[![License GNU GPL v3.0](https://img.shields.io/pypi/l/napari-3d-label-eraser.svg?color=green)](https://github.com/koopa31/napari-3d-label-eraser/raw/main/LICENSE)\n[![PyPI](https://img.shields.io/pypi/v/napari-3d-label-eraser.svg?color=green)](https://pypi.org/project/napari-3d-label-eraser)\n[![Python Version](https://img.shields.io/pypi/pyversions/napari-3d-label-eraser.svg?color=green)](https://python.org)\n[![tests](https://github.com/koopa31/napari-3d-label-eraser/workflows/tests/badge.svg)](https://github.com/koopa31/napari-3d-label-eraser/actions)\n[![codecov](https://codecov.io/gh/koopa31/napari-3d-label-eraser/branch/main/graph/badge.svg)](https://codecov.io/gh/koopa31/napari-3d-label-eraser)\n[![napari hub](https://img.shields.io/endpoint?url=https://api.napari-hub.org/shields/napari-3d-label-eraser)](https://napari-hub.org/plugins/napari-3d-label-eraser)\n\n\nA simple tool to erase a selected label across an entire 3D volume in napari.\n\n## Overview\n\n**napari-3d-label-eraser** provides a fast and convenient way to remove all voxels belonging to a given label in a 3D `Labels` layer.  \nThis is useful for cleaning segmentation results, removing misdetected objects, or performing manual corrections in volumetric datasets.\n\nThe plugin adds a dock widget featuring:\n- a dropdown menu to select the target `Labels` layer,\n- a button to erase the currently selected label across the entire 3D volume,\n- optional usage instructions.\n\nA keyboard shortcut (`A`) can also be used to trigger the erase operation directly from the viewer.\n\n## Features\n\n- Erase all voxels of the selected label throughout a 3D volume.\n- Dropdown to choose the active `Labels` layer.\n- Compatible with napari\u2019s label picker (`L` key).\n- Optional keyboard shortcut (`A`) for quick editing.\n- Minimal, lightweight, and easy to integrate into existing workflows.\n\n## Installation\n\nInstall with pip:\n\n```bash\npip install napari-3d-label-eraser\n```\n\nOr install from the napari plugin manager:\n\n```\nPlugins \u2192 Install/Uninstall Plugins\n```\n\nFor development installation:\n\n```bash\ngit clone https://github.com/koopa31/napari-3d-label-eraser.git\ncd napari-3d-label-eraser\npip install -e .\n```\n\n## Usage\n\n1. Load a `Labels` layer in napari.\n2. Open the plugin:  \n   **Plugins \u2192 3D Label Eraser \u2192 3D Label Eraser**\n3. In the widget:\n   - Select your target `Labels` layer.\n   - Choose the label to erase using the label picker (`L` key).\n   - Click the button to erase that label across the full 3D volume.\n4. Alternatively, press **A** to erase the current label directly from the viewer (focus must be on the viewer).\n\n## Notes\n\n- The plugin operates only on `Labels` layers.\n- The erase action sets all voxels with the selected label to `0`.\n- The `A` shortcut is registered automatically when the widget is opened.\n\n## Contributing\n\nIssues, feature requests, and pull requests are welcome.\n\n## License\n\nThis project is released under the MIT License.\n",
    "description_content_type": "text/markdown",
    "keywords": null,
    "home_page": null,
    "download_url": null,
    "author": null,
    "author_email": "Cl\u00e9ment Cazorla <clement.cazorla31@gmail.com>",
    "maintainer": null,
    "maintainer_email": null,
    "license": "MIT",
    "classifier": [
      "Framework :: napari",
      "Programming Language :: Python :: 3",
      "Programming Language :: Python :: 3.10"
    ],
    "requires_dist": [
      "napari[all]>=0.4.18",
      "magicgui>=0.7",
      "numpy"
    ],
    "requires_python": ">=3.9",
    "requires_external": null,
    "project_url": [
      "Source, https://example.com/napari-3d-label-eraser"
    ],
    "provides_extra": null,
    "provides_dist": null,
    "obsoletes_dist": null
  },
  "npe1_shim": false
}