Skip to main content

Control napari using a touch screen

Project description

napari-mouse-controls

License PyPI Python Version tests codecov napari hub

Control zoom, slicing and contrast windowing with mouse and touch screen


Usage

You find the mouse control panel in the menu Tools > Utilities > Mouse controls

Zoom

After clicking the Zoom button , you can click in the napari canvas and move the mouse up and down to zoom in and out.

Slicing

After clicking the Slicing button , you can control the currently displayed slice by moving the mouse. By moving the mouse up and down, you control the currently selected Z-plane. By moving the mouse left and right, you control the currently seleted time point.

Windowing

After clicking the Windowing button , you can modify the brightness and contrast by moving the mouse. By moving the mouse up and down, you control window width of the range of displayed grey values (max - min). By moving the mouse left and right, you control the center of the grey value window.

Normal / default mode

Click the Default button to return to napari's normal mode.

This napari plugin was generated with Cookiecutter using with @napari's cookiecutter-napari-plugin template.

Installation

You can install napari-mouse-controls via pip:

pip install napari-mouse-controls

Contributing

Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the BSD-3 license, "napari-mouse-controls" 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-mouse-controls-0.1.1.tar.gz (27.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

napari_mouse_controls-0.1.1-py3-none-any.whl (29.2 kB view details)

Uploaded Python 3

File details

Details for the file napari-mouse-controls-0.1.1.tar.gz.

File metadata

  • Download URL: napari-mouse-controls-0.1.1.tar.gz
  • Upload date:
  • Size: 27.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for napari-mouse-controls-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ee8111413695d2d5fed74647132ab2d2afe0847d1b238f565e6b247497c831ef
MD5 51e7b151577874cbcc3ff1b4ff8502e1
BLAKE2b-256 b73fface5b12f79dd0914f497001a656f8e3a9fe27dd80d6be63dd443cbecc1c

See more details on using hashes here.

File details

Details for the file napari_mouse_controls-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: napari_mouse_controls-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 29.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for napari_mouse_controls-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 85f1422e531139dcf4b7d00423283b0f6efebcae7b6d6a0e948ed6d4e7b64e68
MD5 c38a2b5abbaf9d18428b31ddd61b96b7
BLAKE2b-256 de77a167f951cd1e568714ff84e061a562573df5834d7acb2649afbebaf8eacd

See more details on using hashes here.

Supported by

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