Skip to main content

Crop regions in napari manually

Project description

napari-crop

License PyPI Python Version tests codecov DOI

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

napari-crop-0.1.8.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

napari_crop-0.1.8-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

Details for the file napari-crop-0.1.8.tar.gz.

File metadata

  • Download URL: napari-crop-0.1.8.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for napari-crop-0.1.8.tar.gz
Algorithm Hash digest
SHA256 f17c19338fe7abd8162199ecdce67f371157bf50fea79acd151dd4da8844ec79
MD5 eea9b3e3f85976ebadf254335ca83dc3
BLAKE2b-256 e7631ee2915daa991dbaed5e253160be4e730b455c8101e865f95f1856d68b76

See more details on using hashes here.

File details

Details for the file napari_crop-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: napari_crop-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 14.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for napari_crop-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 6e034ea86fddf5c6030de49089eca543e7a9f81ac6e9860ef6482ed24ef6de11
MD5 1e4f92614af8c5a3275f8a3ad2446379
BLAKE2b-256 7a5ce5bd9b466c088392374e7715b54c54361653ef16b494e9275a11921b4ebd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page