{"id":13716427,"url":"https://github.com/brainglobe/brainreg-napari","last_synced_at":"2025-05-07T05:33:04.801Z","repository":{"id":37433334,"uuid":"382366859","full_name":"brainglobe/brainreg-napari","owner":"brainglobe","description":"Automated 3D brain registration in napari with support for multiple species and atlases. ","archived":true,"fork":false,"pushed_at":"2024-01-05T10:58:29.000Z","size":119,"stargazers_count":14,"open_issues_count":0,"forks_count":6,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-10-12T18:24:50.827Z","etag":null,"topics":["anatomy","atlases","brain","microscopy","napari","neuroscience","registration"],"latest_commit_sha":null,"homepage":"https://brainglobe.info/documentation/brainreg/index.html","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brainglobe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.CFF","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-07-02T14:11:40.000Z","updated_at":"2024-05-03T22:19:21.000Z","dependencies_parsed_at":"2023-02-18T08:30:53.782Z","dependency_job_id":"21541c8e-de46-4c38-855b-308974c9667d","html_url":"https://github.com/brainglobe/brainreg-napari","commit_stats":{"total_commits":82,"total_committers":6,"mean_commits":"13.666666666666666","dds":0.6341463414634146,"last_synced_commit":"68c369eb8db019c1571ba29740a37d1cdc5879f5"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainglobe%2Fbrainreg-napari","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainglobe%2Fbrainreg-napari/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainglobe%2Fbrainreg-napari/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainglobe%2Fbrainreg-napari/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brainglobe","download_url":"https://codeload.github.com/brainglobe/brainreg-napari/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224567551,"owners_count":17332828,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anatomy","atlases","brain","microscopy","napari","neuroscience","registration"],"created_at":"2024-08-03T00:01:10.384Z","updated_at":"2024-11-14T04:31:33.821Z","avatar_url":"https://github.com/brainglobe.png","language":"Python","funding_links":[],"categories":["Neuroscience"],"sub_categories":[],"readme":"# THIS PACKAGE HAS MOVED\n\nAs of the release of `brainreg` version `1.0.0`, `brainreg-napari` is now a part of [`brainreg`](https://github.com/brainglobe/brainreg).\nIf you are looking to install the `brainglobe-napari` plugin, please install `brainreg` with it's optional `napari` dependency as detailed in the installation instructions on the [website](https://brainglobe.info/documentation/brainreg/index.html) or [repository](https://github.com/brainglobe/brainreg).\nBefore you update, you should also remove the old `brainreg-napari` package from your environment using either\n\n```bash\npython -m pip uninstall brainreg-napari # If you installed via pip\nconda remove brainreg-napari # If you installed via conda\n```\n\nYou can find the old documentation and installation instructions below, but please note this version of the package should be considered unmaintained.\n\n---\n\n[![Python Version](https://img.shields.io/pypi/pyversions/brainreg-napari.svg)](https://pypi.org/project/brainreg-napari)\n[![PyPI](https://img.shields.io/pypi/v/brainreg-napari.svg)](https://pypi.org/project/brainreg-napari)\n[![Wheel](https://img.shields.io/pypi/wheel/brainreg-napari.svg)](https://pypi.org/project/brainreg-napari)\n[![Development Status](https://img.shields.io/pypi/status/brainreg-napari.svg)](https://github.com/brainglobe/brainreg-napari)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black)\n[![codecov](https://codecov.io/gh/brainglobe/brainreg-napari/branch/master/graph/badge.svg?token=HEBXJPLD2S)](https://codecov.io/gh/brainglobe/brainreg-napari)\n\n# brainreg-napari\nNapari plugin to run [brainreg](https://github.com/brainglobe/brainreg),\ndeveloped by [Stephen Lenzi](https://github.com/stephenlenzi).\n\n## Installation\n```bash\npip install brainreg-napari\n```\n\n## Usage\nDocumentation and tutorials for the plugin can be found [here](https://brainglobe.info/documentation/brainreg/index.html).\n\nFor segmentation of bulk structures in 3D space\n(e.g. injection sites, Neuropixels probes), please see\n[brainreg-segment](https://github.com/brainglobe/brainreg-segment).\n\nThis software is at a very early stage, and was written with our data in mind.\nOver time we hope to support other data types/formats. If you have any issues, please get in touch [on the forum](https://forum.image.sc/tag/brainglobe) or by\n[raising an issue](https://github.com/brainglobe/brainreg/issues).\n\n## Details\nbrainreg is an update to\n[amap](https://github.com/SainsburyWellcomeCentre/amap-python) (itself a port\nof the [original Java software](https://www.nature.com/articles/ncomms11879))\nto include multiple registration backends, and to support the many atlases\nprovided by [bg-atlasapi](https://github.com/brainglobe/bg-atlasapi).\n\nThe aim of brainreg is to register the template brain\n (e.g. from the [Allen Reference Atlas](https://mouse.brain-map.org/static/atlas))\n  to the sample image. Once this is complete, any other image in the template\n  space can be aligned with the sample (such as region annotations, for\n  segmentation of the sample image). The template to sample transformation\n  can also be inverted, allowing sample images to be aligned in a common\n  coordinate space.\n\nTo do this, the template and sample images are filtered, and then registered in\na three step process (reorientation, affine registration, and freeform\nregistration.) The resulting transform from template to standard space is then\napplied to the atlas.\n\nFull details of the process are in the\n[original aMAP paper](https://www.nature.com/articles/ncomms11879).\n![reg_process](https://user-images.githubusercontent.com/13147259/143553945-a046e918-7614-4211-814c-fc840bb0159d.png)\n**Overview of the registration process**\n\n## Contributing\nContributions to brainreg-napari are more than welcome. Please see the [developers guide](https://brainglobe.info/developers/index.html).\n\n### Citing brainreg\n\nIf you find brainreg useful, and use it in your research, please let us know and also cite the paper:\n\n\u003e Tyson, A. L., V\u0026eacute;lez-Fort, M.,  Rousseau, C. V., Cossell, L., Tsitoura, C., Lenzi, S. C., Obenhaus, H. A., Claudi, F., Branco, T.,  Margrie, T. W. (2022). Accurate determination of marker location within whole-brain microscopy images. Scientific Reports, 12, 867 [doi.org/10.1038/s41598-021-04676-9](https://doi.org/10.1038/s41598-021-04676-9)\n\nPlease also cite aMAP (the original pipeline from which this software is based):\n\n\u003eNiedworok, C.J., Brown, A.P.Y., Jorge Cardoso, M., Osten, P., Ourselin, S., Modat, M. and Margrie, T.W., (2016). AMAP is a validated pipeline for registration and segmentation of high-resolution mouse brain data. Nature Communications. 7, 1–9. https://doi.org/10.1038/ncomms11879\n\nLastly, if you can, please cite the BrainGlobe Atlas API that provided the atlas:\n\n\u003eClaudi, F., Petrucco, L., Tyson, A. L., Branco, T., Margrie, T. W. and Portugues, R. (2020). BrainGlobe Atlas API: a common interface for neuroanatomical atlases. Journal of Open Source Software, 5(54), 2668, https://doi.org/10.21105/joss.02668\n\n**Don't forget to cite the developers of the atlas that you used (e.g. the Allen Brain Atlas)!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrainglobe%2Fbrainreg-napari","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrainglobe%2Fbrainreg-napari","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrainglobe%2Fbrainreg-napari/lists"}