https://github.com/haesleinhuepf/napari-mouse-controls
Control zoom, slicing and contrast windowing with mouse and touch screen
https://github.com/haesleinhuepf/napari-mouse-controls
napari-plugin
Last synced: 4 months ago
JSON representation
Control zoom, slicing and contrast windowing with mouse and touch screen
- Host: GitHub
- URL: https://github.com/haesleinhuepf/napari-mouse-controls
- Owner: haesleinhuepf
- License: bsd-3-clause
- Created: 2021-10-30T18:25:32.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-13T22:08:00.000Z (9 months ago)
- Last Synced: 2024-11-09T03:54:38.399Z (6 months ago)
- Topics: napari-plugin
- Language: Python
- Homepage:
- Size: 12 MB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# napari-mouse-controls
[](https://github.com/haesleinhuepf/napari-mouse-controls/raw/main/LICENSE)
[](https://pypi.org/project/napari-mouse-controls)
[](https://python.org)
[](https://github.com/haesleinhuepf/napari-mouse-controls/actions)
[](https://codecov.io/gh/haesleinhuepf/napari-mouse-controls)
[](https://napari-hub.org/plugins/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].
[napari]: https://github.com/napari/napari
[Cookiecutter]: https://github.com/audreyr/cookiecutter
[@napari]: https://github.com/napari
[MIT]: http://opensource.org/licenses/MIT
[BSD-3]: http://opensource.org/licenses/BSD-3-Clause
[GNU GPL v3.0]: http://www.gnu.org/licenses/gpl-3.0.txt
[GNU LGPL v3.0]: http://www.gnu.org/licenses/lgpl-3.0.txt
[Apache Software License 2.0]: http://www.apache.org/licenses/LICENSE-2.0
[Mozilla Public License 2.0]: https://www.mozilla.org/media/MPL/2.0/index.txt
[cookiecutter-napari-plugin]: https://github.com/napari/cookiecutter-napari-plugin[file an issue]: https://github.com/haesleinhuepf/napari-mouse-controls/issues
[napari]: https://github.com/napari/napari
[tox]: https://tox.readthedocs.io/en/latest/
[pip]: https://pypi.org/project/pip/
[PyPI]: https://pypi.org/
[image.sc]: https://image.sc[@haesleinhuepf]: https://twitter.com/haesleinhuepf