brainreg-napari


Namebrainreg-napari JSON
Version 0.1.3 PyPI version JSON
download
home_page
SummaryMulti-atlas whole-brain microscopy registration
upload_time2023-11-06 12:48:54
maintainer
docs_urlNone
author
requires_python>=3.9.0
licenseBSD-3-Clause
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # THIS PACKAGE HAS MOVED

As of the release of `brainreg` version `1.0.0`, `brainreg-napari` is now a part of [`brainreg`](https://github.com/brainglobe/brainreg).
If 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).
Before you update, you should also remove the old `brainreg-napari` package from your environment using either

```bash
python -m pip uninstall brainreg-napari # If you installed via pip
conda remove brainreg-napari # If you installed via conda
```

You can find the old documentation and installation instructions below, but please note this version of the package should be considered unmaintained.

---

[![Python Version](https://img.shields.io/pypi/pyversions/brainreg-napari.svg)](https://pypi.org/project/brainreg-napari)
[![PyPI](https://img.shields.io/pypi/v/brainreg-napari.svg)](https://pypi.org/project/brainreg-napari)
[![Wheel](https://img.shields.io/pypi/wheel/brainreg-napari.svg)](https://pypi.org/project/brainreg-napari)
[![Development Status](https://img.shields.io/pypi/status/brainreg-napari.svg)](https://github.com/brainglobe/brainreg-napari)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black)
[![codecov](https://codecov.io/gh/brainglobe/brainreg-napari/branch/master/graph/badge.svg?token=HEBXJPLD2S)](https://codecov.io/gh/brainglobe/brainreg-napari)

# brainreg-napari
Napari plugin to run [brainreg](https://github.com/brainglobe/brainreg),
developed by [Stephen Lenzi](https://github.com/stephenlenzi).

## Installation
```bash
pip install brainreg-napari
```

## Usage
Documentation and tutorials for the plugin can be found [here](https://brainglobe.info/documentation/brainreg/index.html).

For segmentation of bulk structures in 3D space
(e.g. injection sites, Neuropixels probes), please see
[brainreg-segment](https://github.com/brainglobe/brainreg-segment).

This software is at a very early stage, and was written with our data in mind.
Over 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
[raising an issue](https://github.com/brainglobe/brainreg/issues).

## Details
brainreg is an update to
[amap](https://github.com/SainsburyWellcomeCentre/amap-python) (itself a port
of the [original Java software](https://www.nature.com/articles/ncomms11879))
to include multiple registration backends, and to support the many atlases
provided by [bg-atlasapi](https://github.com/brainglobe/bg-atlasapi).

The aim of brainreg is to register the template brain
 (e.g. from the [Allen Reference Atlas](https://mouse.brain-map.org/static/atlas))
  to the sample image. Once this is complete, any other image in the template
  space can be aligned with the sample (such as region annotations, for
  segmentation of the sample image). The template to sample transformation
  can also be inverted, allowing sample images to be aligned in a common
  coordinate space.

To do this, the template and sample images are filtered, and then registered in
a three step process (reorientation, affine registration, and freeform
registration.) The resulting transform from template to standard space is then
applied to the atlas.

Full details of the process are in the
[original aMAP paper](https://www.nature.com/articles/ncomms11879).
![reg_process](https://user-images.githubusercontent.com/13147259/143553945-a046e918-7614-4211-814c-fc840bb0159d.png)
**Overview of the registration process**

## Contributing
Contributions to brainreg-napari are more than welcome. Please see the [developers guide](https://brainglobe.info/developers/index.html).

### Citing brainreg

If you find brainreg useful, and use it in your research, please let us know and also cite the paper:

> Tyson, A. L., Vé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)

Please also cite aMAP (the original pipeline from which this software is based):

>Niedworok, 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

Lastly, if you can, please cite the BrainGlobe Atlas API that provided the atlas:

>Claudi, 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

**Don't forget to cite the developers of the atlas that you used (e.g. the Allen Brain Atlas)!**

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "brainreg-napari",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "",
    "author_email": "\"Adam Tyson, Stephen Lenzi\" <code@adamltyson.com>",
    "download_url": "https://files.pythonhosted.org/packages/6a/02/70811df0d459f3f19ba74cf90895cb0e9f0623581884a978c5733d72e343/brainreg-napari-0.1.3.tar.gz",
    "platform": null,
    "description": "# 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> Tyson, A. L., V&eacute;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>Niedworok, 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\u20139. https://doi.org/10.1038/ncomms11879\n\nLastly, if you can, please cite the BrainGlobe Atlas API that provided the atlas:\n\n>Claudi, 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",
    "bugtrack_url": null,
    "license": "BSD-3-Clause",
    "summary": "Multi-atlas whole-brain microscopy registration",
    "version": "0.1.3",
    "project_urls": {
        "bug_tracker": "https://github.com/brainglobe/brainreg-napari/issues",
        "documentation": "https://docs.brainglobe.info/brainreg-napari",
        "homepage": "https://brainglobe.info",
        "source_code": "https://github.com/brainglobe/brainreg-napari",
        "twitter": "https://twitter.com/brain_globe",
        "user_support": "https://forum.image.sc/tag/brainglobe"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2d57623e2f12d4ca0f057722e94f323d0de62c3a1b35dec1903bfe7ae39fd68a",
                "md5": "9454356676f4782e30e2a164c25e6a05",
                "sha256": "df6b0da4826fa7ce857227fb699d72fdf7ab89ade62af42bf704efd5444d6aee"
            },
            "downloads": -1,
            "filename": "brainreg_napari-0.1.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9454356676f4782e30e2a164c25e6a05",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9.0",
            "size": 14592,
            "upload_time": "2023-11-06T12:48:53",
            "upload_time_iso_8601": "2023-11-06T12:48:53.134209Z",
            "url": "https://files.pythonhosted.org/packages/2d/57/623e2f12d4ca0f057722e94f323d0de62c3a1b35dec1903bfe7ae39fd68a/brainreg_napari-0.1.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6a0270811df0d459f3f19ba74cf90895cb0e9f0623581884a978c5733d72e343",
                "md5": "a36330beb1a5f0ad23a503fe4c1052bf",
                "sha256": "25eba0bd7ef11f7f6fb9c6dae0ce74cb47ec21afa331ed54c4f6428f6d1f00ec"
            },
            "downloads": -1,
            "filename": "brainreg-napari-0.1.3.tar.gz",
            "has_sig": false,
            "md5_digest": "a36330beb1a5f0ad23a503fe4c1052bf",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9.0",
            "size": 18054,
            "upload_time": "2023-11-06T12:48:54",
            "upload_time_iso_8601": "2023-11-06T12:48:54.523524Z",
            "url": "https://files.pythonhosted.org/packages/6a/02/70811df0d459f3f19ba74cf90895cb0e9f0623581884a978c5733d72e343/brainreg-napari-0.1.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-06 12:48:54",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "brainglobe",
    "github_project": "brainreg-napari",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "brainreg-napari"
}
        
Elapsed time: 0.14062s