Skip to main content

Interface to manually edit layer affine transforms

Project description

napari-manual-transforms

License PyPI Python Version tests codecov

Interface to manually edit layer affine transforms.

  • express rotations as quaternion, euler angle, or axis + angle.
  • allows rotation around arbitrary origin
  • currently, focusing on rigid rotations
  • Alt-Drag to rotate a layer independently of the rest.
  • image resampling coming (i.e. "apply" the transformation to create new dataset)

Plugin Preview

caveats:

  • only works on 3D Image layers for now, open a feature request for other dims/layers.
  • will likely result in "Non-orthogonal slicing is being requested" warnings in 2D view.

Try it out

import napari

v = napari.Viewer()
v.dims.ndisplay = 3
v.open_sample('napari', 'cells3d')
v.window.add_plugin_dock_widget('napari-manual-transforms')

napari.run()

Installation

You can install napari-manual-transforms via pip:

pip install napari-manual-transforms

To install latest development version :

pip install git+https://github.com/tlambert03/napari-manual-transforms.git

License

Distributed under the terms of the BSD-3 license, "napari-manual-transforms" is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

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_manual_transforms-0.0.0.tar.gz (103.1 kB view details)

Uploaded Source

Built Distribution

napari_manual_transforms-0.0.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file napari_manual_transforms-0.0.0.tar.gz.

File metadata

File hashes

Hashes for napari_manual_transforms-0.0.0.tar.gz
Algorithm Hash digest
SHA256 ceb6201011b1129895341dcc3d34daa827ae6dbf7b162abb9e3c8432f95803f9
MD5 01a4a30c0970489626496a7d6fbb4e5f
BLAKE2b-256 64a459a0c64c9edfe819da987df439050b9ab20e7582c078f721c1eeb7766d7a

See more details on using hashes here.

File details

Details for the file napari_manual_transforms-0.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for napari_manual_transforms-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6c09423be8006e40241ec6a04b0322f908387ad31afaea168b5e92a99e2cac2b
MD5 65ee27e84f261e021bf883c6b10145cf
BLAKE2b-256 bb3ab3e7efa63f57b5568bcf0e5072108482703cdb331cddcce934de4556260a

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