{"name":"generate-dense-patches","display_name":"Generate Dense Patches","visibility":"public","icon":"","categories":[],"schema_version":"0.2.0","on_activate":null,"on_deactivate":null,"contributions":{"commands":[{"id":"generate-dense-patches.make_patches_widget","title":"Make patches widget","python_name":"generate_dense_patches._widget:generate_2d_patches_widget","short_title":null,"category":null,"icon":null,"enablement":null}],"readers":null,"writers":null,"widgets":[{"command":"generate-dense-patches.make_patches_widget","display_name":"Generate 2D Patches","autogenerate":false}],"sample_data":null,"themes":null,"menus":{},"submenus":null,"keybindings":null,"configuration":[]},"package_metadata":{"metadata_version":"2.1","name":"generate-dense-patches","version":"0.0.2","dynamic":null,"platform":null,"supported_platform":null,"summary":"A simple plugin to create a lot of training data from a 3D volume and mask","description":"# generate-dense-patches\n\n[![License BSD-3](https://img.shields.io/pypi/l/generate-dense-patches.svg?color=green)](https://github.com/volume-em/generate-dense-patches/raw/main/LICENSE)\n[![PyPI](https://img.shields.io/pypi/v/generate-dense-patches.svg?color=green)](https://pypi.org/project/generate-dense-patches)\n[![Python Version](https://img.shields.io/pypi/pyversions/generate-dense-patches.svg?color=green)](https://python.org)\n[![tests](https://github.com/volume-em/generate-dense-patches/workflows/tests/badge.svg)](https://github.com/volume-em/generate-dense-patches/actions)\n[![codecov](https://codecov.io/gh/volume-em/generate-dense-patches/branch/main/graph/badge.svg)](https://codecov.io/gh/volume-em/generate-dense-patches)\n[![napari hub](https://img.shields.io/endpoint?url=https://api.napari-hub.org/shields/generate-dense-patches)](https://napari-hub.org/plugins/generate-dense-patches)\n\nA simple plugin to create a lot of training data from a 3D volume and mask. For help with this plugin please open an issue, for issues with napari specifically raise an issue here instead.\n\n----------------------------------\n\nThis [napari] plugin was generated with [Cookiecutter] using [@napari]'s [cookiecutter-napari-plugin] template.\n\n## Installation\n\nIt's recommended to have installed napari and pyqt through conda. \n\n conda install napari pyqt\n\nThen to install this plugin via [pip]:\n\n pip install generate-dense-patches\n\n\n\nTo install latest development version :\n\n pip install git+https://github.com/volume-em/generate-dense-patches.git\n\n\n## Usage\nTo use this plugin with napari:\n1. Drag and drop an image and/or segmentation mask (tif) into the viewer.\n2. Open \"Plugins\" Toolbar and select \"Generate dense patches\" and click \"Generate 2D Patches\"\n\nThis plugin works to create a lot of 2D training data by generating an $n^3$ cube, rotating every $\\theta$ slices and saving every (step size) slice of the generated volume.\n\n3. Make sure the \"save directory box\", \"step size\", \"rotation theta\", and \"patch size\" is filled in\n\nIf no point is placed, then the center of the image will be used as the center of the cube. If a point is placed, then the center of the cube will be the point.\n\n4. Press run and wait for the patches to be generated.\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\"generate-dense-patches\" is free and open source software\n\n## Issues\n\nIf you encounter any problems, please [file an issue] along with a detailed description.\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/volume-em/generate-dense-patches/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","description_content_type":"text/markdown","keywords":null,"home_page":"https://github.com/volume-em/generate-dense-patches","download_url":null,"author":"Aayush Bhatawadekar","author_email":"asbhatawadekar@gmail.com","maintainer":null,"maintainer_email":null,"license":"BSD-3-Clause","classifier":["Development Status :: 2 - Pre-Alpha","Framework :: napari","Intended Audience :: Developers","License :: OSI Approved :: BSD License","Operating System :: OS Independent","Programming Language :: Python","Programming Language :: Python :: 3","Programming Language :: Python :: 3 :: Only","Programming Language :: Python :: 3.8","Programming Language :: Python :: 3.9","Programming Language :: Python :: 3.10","Topic :: Scientific/Engineering :: Image Processing"],"requires_dist":["napari >=0.4.18","napari-plugin-engine >=0.2.0","numpy ==1.22","scikit-image >=0.19","magicgui","imagecodecs","tox ; extra == 'testing'","pytest ; extra == 'testing'","pytest-cov ; extra == 'testing'","pytest-qt ; extra == 'testing'","napari ; extra == 'testing'","pyqt5 ; extra == 'testing'"],"requires_python":">=3.8","requires_external":null,"project_url":["Bug Tracker, https://github.com/volume-em/generate-dense-patches/issues","Documentation, https://github.com/volume-em/generate-dense-patches#README.md","Source Code, https://github.com/volume-em/generate-dense-patches","User Support, https://github.com/volume-em/generate-dense-patches/issues"],"provides_extra":["testing"],"provides_dist":null,"obsoletes_dist":null},"npe1_shim":false}