Control napari using a touch screen
Project description
napari-mouse-controls
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
Built Distribution
Hashes for napari-mouse-controls-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd40369144e902f46435fe4dca6a36da7b4ed58ea3943e62c8792e764f8ccc43 |
|
MD5 | 3f055d5722a0466244e28457c930d497 |
|
BLAKE2b-256 | 21059ec6e4901d8c361b6e60cfa8aba579453da6aa38dfc1b5f894b97b42c005 |
Hashes for napari_mouse_controls-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a65a2e740fcbc408ccba2f90fb50ddb9f5e099ffe5c8db344180bc55a8b93814 |
|
MD5 | 163b9c8a63a51894436d3a8f31d97c08 |
|
BLAKE2b-256 | 3c0b5f437fed90a67b09d55593e1a020b1fe057a08aa2be52c1596a3586e9add |