{"name":"napari-crop","display_name":"napari-crop","visibility":"public","icon":"","categories":[],"schema_version":"0.2.0","on_activate":null,"on_deactivate":null,"contributions":{"commands":[{"id":"napari-crop.napari_experimental_provide_function","title":"crop_region","python_name":"napari_crop._function:napari_experimental_provide_function","short_title":null,"category":null,"icon":null,"enablement":null}],"readers":null,"writers":null,"widgets":[{"command":"napari-crop.napari_experimental_provide_function","display_name":"crop_region","autogenerate":true}],"sample_data":null,"themes":null,"menus":{},"submenus":null,"keybindings":null,"configuration":[]},"package_metadata":{"metadata_version":"2.1","name":"napari-crop","version":"0.1.7","dynamic":null,"platform":null,"supported_platform":null,"summary":"Crop regions in napari manually","description":"# napari-crop\n\n[![License](https://img.shields.io/pypi/l/napari-crop.svg?color=green)](https://github.com/haesleinhuepf/napari-crop/raw/master/LICENSE)\n[![PyPI](https://img.shields.io/pypi/v/napari-crop.svg?color=green)](https://pypi.org/project/napari-crop)\n[![Python Version](https://img.shields.io/pypi/pyversions/napari-crop.svg?color=green)](https://python.org)\n[![tests](https://github.com/haesleinhuepf/napari-crop/workflows/tests/badge.svg)](https://github.com/haesleinhuepf/napari-crop/actions)\n[![codecov](https://codecov.io/gh/haesleinhuepf/napari-crop/branch/master/graph/badge.svg)](https://codecov.io/gh/haesleinhuepf/napari-crop)\n[![DOI](https://zenodo.org/badge/419822240.svg)](https://zenodo.org/badge/latestdoi/419822240)\n\nCrop regions in napari manually\n\n![](https://github.com/haesleinhuepf/napari-crop/raw/main/images/screencast.gif)\n\nCrop in any dimension\n\n![](https://github.com/haesleinhuepf/napari-crop/blob/main/images/side_crop.gif)\n\n## Usage\nCreate a new shapes layer to annotate the region you would like to crop:\n\n![](https://github.com/haesleinhuepf/napari-crop/raw/main/images/shapes.png)\n\nUse the rectangle tool to annotate a region. Start the `crop` tool from the `Tools > Utilities > Crop region` menu. \nClick the `Run` button to crop the region.\n\n![](https://github.com/haesleinhuepf/napari-crop/raw/main/images/draw_rectangle.png)\n\nYou can also use the `Select shapes` tool to move the rectangle to a new place and crop another region by clicking on `Run`.\n\n![](https://github.com/haesleinhuepf/napari-crop/raw/main/images/move_rectangle.png)\n\nHint: You can also use the [napari-tabu](https://www.napari-hub.org/plugins/napari-tabu) plugin to send all your cropped images to a new napari window.\n\n![](https://github.com/haesleinhuepf/napari-crop/raw/main/images/new_window.gif)\n\n----------------------------------\n\nThis [napari] plugin was generated with [Cookiecutter] using with [@napari]'s [cookiecutter-napari-plugin] template.\n\n## Installation\n\nYou can install `napari-crop` via [pip]:\n\n pip install napari-crop\n\n## Contributing\n\nContributions are very welcome. \n\n## License\n\nDistributed under the terms of the [BSD-3] license,\n\"napari-crop\" 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[file an issue]: https://github.com/haesleinhuepf/napari-crop/issues\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[image.sc]: https://image.sc\n[@haesleinhuepf]: https://twitter.com/haesleinhuepf\n\n","description_content_type":"text/markdown","keywords":null,"home_page":"https://github.com/biapol/napari-crop","download_url":null,"author":"Robert Haase, Tim Morello, Marcelo Leomil Zoccoler, Johannes Muller","author_email":"robert.haase@tu-dresden.de","maintainer":null,"maintainer_email":null,"license":"BSD-3-Clause","classifier":["Development Status :: 3 - Alpha","Intended Audience :: Developers","Framework :: napari","Topic :: Scientific/Engineering :: Image Processing","Topic :: Scientific/Engineering :: Information Analysis","Programming Language :: Python","Programming Language :: Python :: 3","Programming Language :: Python :: 3.7","Programming Language :: Python :: 3.8","Programming Language :: Python :: 3.9","Operating System :: OS Independent","License :: OSI Approved :: BSD License"],"requires_dist":["napari-plugin-engine (>=0.1.4)","numpy","scikit-image","napari-tools-menu"],"requires_python":">=3.7","requires_external":null,"project_url":["Bug Tracker, https://github.com/biapol/napari-crop/issues","Documentation, https://github.com/biapol/napari-crop#README.md","Source Code, https://github.com/biapol/napari-crop","User Support, https://github.com/biapol/napari-crop/issues"],"provides_extra":null,"provides_dist":null,"obsoletes_dist":null},"npe1_shim":true}