# 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
Raw data
{
"_id": null,
"home_page": "https://github.com/haesleinhuepf/napari-mouse-controls",
"name": "napari-mouse-controls",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "",
"author": "Robert Haase",
"author_email": "robert.haase@tu-dresden.de",
"download_url": "https://files.pythonhosted.org/packages/df/92/85854a17f7bc424edc0453c03a67516bfdb19372d1715f1aff527fbb8e28/napari-mouse-controls-0.1.3.tar.gz",
"platform": "",
"description": "# napari-mouse-controls\n\n[](https://github.com/haesleinhuepf/napari-mouse-controls/raw/main/LICENSE)\n[](https://pypi.org/project/napari-mouse-controls)\n[](https://python.org)\n[](https://github.com/haesleinhuepf/napari-mouse-controls/actions)\n[](https://codecov.io/gh/haesleinhuepf/napari-mouse-controls)\n[](https://napari-hub.org/plugins/napari-mouse-controls)\n\nControl zoom, slicing and contrast windowing with mouse and touch screen\n\n----------------------------------\n\n## Usage\n\nYou find the mouse control panel in the menu `Tools > Utilities > Mouse controls`\n\n### Zoom\n\nAfter clicking the Zoom button , you can click in the napari canvas and move the mouse up and down to zoom in and out.\n\n\n\n### Slicing\n\nAfter clicking the Slicing button , you can control the currently displayed slice by moving the mouse.\nBy moving the mouse up and down, you control the currently selected Z-plane.\nBy moving the mouse left and right, you control the currently seleted time point.\n\n\n\n### Windowing\n\nAfter clicking the Windowing button , you can modify the brightness and contrast by moving the mouse. \nBy moving the mouse up and down, you control window width of the range of displayed grey values (max - min).\nBy moving the mouse left and right, you control the center of the grey value window. \n\n\n\n### Normal / default mode\n\nClick the Default button \nto return to napari's normal mode.\n\n\nThis [napari] plugin was generated with [Cookiecutter] using with [@napari]'s [cookiecutter-napari-plugin] template.\n\n\n## Installation\n\nYou can install `napari-mouse-controls` via [pip]:\n\n pip install napari-mouse-controls\n\n## Contributing\n\nContributions are very welcome. Tests can be run with [tox], please ensure\nthe coverage at least stays the same before you submit a pull request.\n\n## License\n\nDistributed under the terms of the [BSD-3] license,\n\"napari-mouse-controls\" is free and open source software\n\n## Issues\n\nIf you encounter any problems, please create a thread on [image.sc] along with a detailed description and tag [@haesleinhuepf].\n\n[napari]: https://github.com/napari/napari\n[Cookiecutter]: https://github.com/audreyr/cookiecutter\n[@napari]: https://github.com/napari\n[MIT]: http://opensource.org/licenses/MIT\n[BSD-3]: http://opensource.org/licenses/BSD-3-Clause\n[GNU GPL v3.0]: http://www.gnu.org/licenses/gpl-3.0.txt\n[GNU LGPL v3.0]: http://www.gnu.org/licenses/lgpl-3.0.txt\n[Apache Software License 2.0]: http://www.apache.org/licenses/LICENSE-2.0\n[Mozilla Public License 2.0]: https://www.mozilla.org/media/MPL/2.0/index.txt\n[cookiecutter-napari-plugin]: https://github.com/napari/cookiecutter-napari-plugin\n\n[file an issue]: https://github.com/haesleinhuepf/napari-mouse-controls/issues\n\n[napari]: https://github.com/napari/napari\n[tox]: https://tox.readthedocs.io/en/latest/\n[pip]: https://pypi.org/project/pip/\n[PyPI]: https://pypi.org/\n[image.sc]: https://image.sc\n\n[@haesleinhuepf]: https://twitter.com/haesleinhuepf\n\n\n",
"bugtrack_url": null,
"license": "BSD-3-Clause",
"summary": "Control napari using a touch screen",
"version": "0.1.3",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "64a78e88f968e8a886270cb3e9e7b73e",
"sha256": "008d19fec5a4857b7faa36e1592ca8f58858c780512a12ee2396cc8944db047b"
},
"downloads": -1,
"filename": "napari_mouse_controls-0.1.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "64a78e88f968e8a886270cb3e9e7b73e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 29177,
"upload_time": "2022-01-01T16:28:08",
"upload_time_iso_8601": "2022-01-01T16:28:08.331706Z",
"url": "https://files.pythonhosted.org/packages/35/39/4cbc8af9ae888452ca1fe5be0410c02fe1062c20276edc3af987370bcc6e/napari_mouse_controls-0.1.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "175fffd646fda365bd3de539515cedf0",
"sha256": "0dd9ee41146a3cb73ff8cf9378e242331d2ea9b0c4088188b4bce1650a45c7e6"
},
"downloads": -1,
"filename": "napari-mouse-controls-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "175fffd646fda365bd3de539515cedf0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 27849,
"upload_time": "2022-01-01T16:28:09",
"upload_time_iso_8601": "2022-01-01T16:28:09.689671Z",
"url": "https://files.pythonhosted.org/packages/df/92/85854a17f7bc424edc0453c03a67516bfdb19372d1715f1aff527fbb8e28/napari-mouse-controls-0.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-01-01 16:28:09",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "haesleinhuepf",
"github_project": "napari-mouse-controls",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "napari-tools-menu",
"specs": []
},
{
"name": null,
"specs": []
}
],
"tox": true,
"lcname": "napari-mouse-controls"
}