napari-crop
Crop regions in napari manually
🚨🚨🚨 Call for maintainers 🚨🚨🚨
If you are interested in further developing it, please get in touch or create a fork.
Crop regions in napari manually

Crop in any dimension

Cut a volume using a plane
Note:
- this functionality currently only works with 3D data
- to drag the plane, hold the 'SHIFT' key from your keyboard

Draw shapes of fixed size at given coordinates for later cropping

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 Plugins > napari-crop > Crop region or, if available, 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.
Version:
- 0.1.11
Last updated:
- 2025-12-09
First released:
- 2021-10-21
License:
- Copyright (c) 2021, Robert Haa...
Operating system:
- Information not submitted
Requirements:
- napari-plugin-engine>=0.1.4
- numpy
- scikit-image
- napari-tools-menu>=0.1.17
- napari-workflows
- tox; extra == "testing"
- pytest; extra == "testing"
- pytest-cov; extra == "testing"
- pytest-qt; extra == "testing"
- napari; extra == "testing"
- pyqt5; extra == "testing"

