Skip to content

BiAPoL/napari-crop

Repository files navigation

napari-crop

License PyPI Python Version tests codecov DOI

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

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages