# napari-crop
[](https://github.com/BiAPoL/napari-crop/raw/master/LICENSE)
[](https://pypi.org/project/napari-crop)
[](https://python.org)
[](https://github.com/BiAPoL/napari-crop/actions)
[](https://codecov.io/gh/BiAPoL/napari-crop)
[](https://zenodo.org/badge/latestdoi/419822240)
Crop regions in napari manually

Crop in any dimension

Cut a volume using a plane
*Note: this functionality currently only works with 3D data*

## Usage
Create a new shapes layer to annotate the region you would like to crop:

Use the rectangle tool to annotate a region. Start the `crop` tool from the `Tools > Utilities > Crop region` menu.
Click the `Run` button to crop the region.

You can also use the `Select shapes` tool to move the rectangle to a new place and crop another region by clicking on `Run`.

Hint: 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.

----------------------------------
This [napari] plugin was generated with [Cookiecutter] using with [@napari]'s [cookiecutter-napari-plugin] template.
## Installation
You can install `napari-crop` via [pip]:
pip install napari-crop
## Contributing
Contributions are very welcome.
## License
Distributed under the terms of the [BSD-3] license,
"napari-crop" is free and open source software
## Issues
If you encounter any problems, please create a thread on [image.sc] along with a detailed description and tag [@haesleinhuepf].
[napari]: https://github.com/napari/napari
[Cookiecutter]: https://github.com/audreyr/cookiecutter
[@napari]: https://github.com/napari
[MIT]: http://opensource.org/licenses/MIT
[BSD-3]: http://opensource.org/licenses/BSD-3-Clause
[GNU GPL v3.0]: http://www.gnu.org/licenses/gpl-3.0.txt
[GNU LGPL v3.0]: http://www.gnu.org/licenses/lgpl-3.0.txt
[Apache Software License 2.0]: http://www.apache.org/licenses/LICENSE-2.0
[Mozilla Public License 2.0]: https://www.mozilla.org/media/MPL/2.0/index.txt
[cookiecutter-napari-plugin]: https://github.com/napari/cookiecutter-napari-plugin
[file an issue]: https://github.com/BiAPoL/napari-crop/issues
[napari]: https://github.com/napari/napari
[tox]: https://tox.readthedocs.io/en/latest/
[pip]: https://pypi.org/project/pip/
[PyPI]: https://pypi.org/
[image.sc]: https://image.sc
[@haesleinhuepf]: https://twitter.com/haesleinhuepf
Raw data
{
"_id": null,
"home_page": "https://github.com/biapol/napari-crop",
"name": "napari-crop",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "",
"author": "Robert Haase, Tim Morello, Marcelo Leomil Zoccoler, Johannes Muller",
"author_email": "robert.haase@tu-dresden.de",
"download_url": "https://files.pythonhosted.org/packages/ec/a1/0b6db01f244e15a977a04c917d245176b83c42602d2ada3ce84278264f75/napari-crop-0.1.9.tar.gz",
"platform": null,
"description": "# napari-crop\r\n\r\n[](https://github.com/BiAPoL/napari-crop/raw/master/LICENSE)\r\n[](https://pypi.org/project/napari-crop)\r\n[](https://python.org)\r\n[](https://github.com/BiAPoL/napari-crop/actions)\r\n[](https://codecov.io/gh/BiAPoL/napari-crop)\r\n[](https://zenodo.org/badge/latestdoi/419822240)\r\n\r\nCrop regions in napari manually\r\n\r\n\r\n\r\nCrop in any dimension\r\n\r\n\r\n\r\nCut a volume using a plane\r\n\r\n*Note: this functionality currently only works with 3D data*\r\n\r\n\r\n\r\n## Usage\r\nCreate a new shapes layer to annotate the region you would like to crop:\r\n\r\n\r\n\r\nUse the rectangle tool to annotate a region. Start the `crop` tool from the `Tools > Utilities > Crop region` menu. \r\nClick the `Run` button to crop the region.\r\n\r\n\r\n\r\nYou can also use the `Select shapes` tool to move the rectangle to a new place and crop another region by clicking on `Run`.\r\n\r\n\r\n\r\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.\r\n\r\n\r\n\r\n----------------------------------\r\n\r\nThis [napari] plugin was generated with [Cookiecutter] using with [@napari]'s [cookiecutter-napari-plugin] template.\r\n\r\n## Installation\r\n\r\nYou can install `napari-crop` via [pip]:\r\n\r\n pip install napari-crop\r\n\r\n## Contributing\r\n\r\nContributions are very welcome. \r\n\r\n## License\r\n\r\nDistributed under the terms of the [BSD-3] license,\r\n\"napari-crop\" is free and open source software\r\n\r\n## Issues\r\n\r\nIf you encounter any problems, please create a thread on [image.sc] along with a detailed description and tag [@haesleinhuepf].\r\n\r\n[napari]: https://github.com/napari/napari\r\n[Cookiecutter]: https://github.com/audreyr/cookiecutter\r\n[@napari]: https://github.com/napari\r\n[MIT]: http://opensource.org/licenses/MIT\r\n[BSD-3]: http://opensource.org/licenses/BSD-3-Clause\r\n[GNU GPL v3.0]: http://www.gnu.org/licenses/gpl-3.0.txt\r\n[GNU LGPL v3.0]: http://www.gnu.org/licenses/lgpl-3.0.txt\r\n[Apache Software License 2.0]: http://www.apache.org/licenses/LICENSE-2.0\r\n[Mozilla Public License 2.0]: https://www.mozilla.org/media/MPL/2.0/index.txt\r\n[cookiecutter-napari-plugin]: https://github.com/napari/cookiecutter-napari-plugin\r\n[file an issue]: https://github.com/BiAPoL/napari-crop/issues\r\n[napari]: https://github.com/napari/napari\r\n[tox]: https://tox.readthedocs.io/en/latest/\r\n[pip]: https://pypi.org/project/pip/\r\n[PyPI]: https://pypi.org/\r\n[image.sc]: https://image.sc\r\n[@haesleinhuepf]: https://twitter.com/haesleinhuepf\r\n\r\n",
"bugtrack_url": null,
"license": "BSD-3-Clause",
"summary": "Crop regions in napari manually",
"version": "0.1.9",
"project_urls": {
"Bug Tracker": "https://github.com/biapol/napari-crop/issues",
"Documentation": "https://github.com/biapol/napari-crop#README.md",
"Homepage": "https://github.com/biapol/napari-crop",
"Source Code": "https://github.com/biapol/napari-crop",
"User Support": "https://github.com/biapol/napari-crop/issues"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "19f13220e1d16211382ea64625bb8e598b5732cc93bd0bc5038957e172fc9fb5",
"md5": "e3df720683373d85b5096d8a31cef2bd",
"sha256": "419debf75ecba8fddbcece5f3dc19cbeccd9b7a0195fcef73ff057dc53264509"
},
"downloads": -1,
"filename": "napari_crop-0.1.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e3df720683373d85b5096d8a31cef2bd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 14125,
"upload_time": "2023-06-28T14:01:13",
"upload_time_iso_8601": "2023-06-28T14:01:13.719613Z",
"url": "https://files.pythonhosted.org/packages/19/f1/3220e1d16211382ea64625bb8e598b5732cc93bd0bc5038957e172fc9fb5/napari_crop-0.1.9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "eca10b6db01f244e15a977a04c917d245176b83c42602d2ada3ce84278264f75",
"md5": "6a3280af56fd61ac6d769e65425f1442",
"sha256": "54949ae74ab2fe118d33309d31b8c7eb7368de65428f1008038b82232d8856bd"
},
"downloads": -1,
"filename": "napari-crop-0.1.9.tar.gz",
"has_sig": false,
"md5_digest": "6a3280af56fd61ac6d769e65425f1442",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 13076,
"upload_time": "2023-06-28T14:01:15",
"upload_time_iso_8601": "2023-06-28T14:01:15.292969Z",
"url": "https://files.pythonhosted.org/packages/ec/a1/0b6db01f244e15a977a04c917d245176b83c42602d2ada3ce84278264f75/napari-crop-0.1.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-28 14:01:15",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "biapol",
"github_project": "napari-crop",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"tox": true,
"lcname": "napari-crop"
}