|docs| |CI| |pypi|
.. .. |Upload Python Package| image:: https://github.com/MathOnco/valis/actions/workflows/python-publish.yml/badge.svg :target: https://github.com/MathOnco/valis/actions/workflows/python-publish.yml
.. .. |build-status| image:: https://circleci.com/gh/readthedocs/readthedocs.org.svg?style=svg .. :alt: build status .. :target: https://circleci.com/gh/readthedocs/readthedocs.org
.. |docs| image:: https://readthedocs.org/projects/valis/badge/?version=latest :target: https://valis.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status
.. |CI| image:: https://github.com/MathOnco/valis/workflows/CI/badge.svg?branch=main :target: https://github.com/MathOnco/valis/actions?workflow=CI :alt: CI Status
.. .. |conda| image:: https://img.shields.io/conda/vn/conda-forge/valis_wsi :alt: Conda (channel only)
.. |pypi| image:: https://badge.fury.io/py/valis-wsi.svg :target: https://badge.fury.io/py/valis-wsi
.. image:: https://zenodo.org/badge/444523406.svg :target: https://zenodo.org/badge/latestdoi/444523406
.. .. |coverage| image:: https://codecov.io/gh/readthedocs/readthedocs.org/branch/master/graph/badge.svg .. :alt: Test coverage .. :scale: 100% .. :target: https://codecov.io/gh/readthedocs/readthedocs.org
.. image:: https://github.com/MathOnco/valis/raw/main/docs/_images/banner.gif
VALIS, which stands for Virtual Alignment of pathoLogy Image Series, is a fully automated pipeline to register whole slide images (WSI) using rigid and/or non-rigid transformtions. A full description of the method is described in the paper by Gatenbee et al. 2023 <https://www.nature.com/articles/s41467-023-40218-9>
. VALIS uses Bio-Formats <https://www.openmicroscopy.org/bio-formats/>
, OpenSlide <https://openslide.org/>
_, libvips <https://www.libvips.org/>
, and scikit-image <https://scikit-image.org/>
to read images and slides, and so is able to work with over 300 image formats. Registered images can be saved as ome.tiff <https://docs.openmicroscopy.org/ome-model/5.6.3/ome-tiff/>
slides that can be used in downstream analyses. ome.tiff format is opensource and widely supported, being readable in several different programming languages (Python, Java, Matlab, etc...) and software, such as QuPath <https://qupath.github.io/>
, HALO by Idica Labs <https://indicalab.com/halo/>
, etc...
The registration pipeline is fully automated and goes as follows:
.. image:: https://github.com/MathOnco/valis/raw/main/docs/_images/pipeline.png
micro_rigid_registrar.MicroRigidRegistrar
). * aligning each image towards the reference image following the same sequence used during rigid registration.
* using groupwise registration that non-rigidly aligns the images to a common frame of reference. Currently this is only possible if `SimpleElastix <https://simpleelastix.github.io>`__ is installed.
The transformations found by VALIS can then be used to warp the full resolution slides. It is also possible to merge non-RGB registered slides to create a highly multiplexed image. These aligned and/or merged slides can then be saved as ome.tiff images. The transformations can also be use to warp point data, such as cell centroids, polygon vertices, etc...
In addition to registering images, VALIS provides tools to read slides using Bio-Formats and OpenSlide, which can be read at multiple resolutions and converted to numpy arrays or pyvips.Image objects. One can also slice regions of interest from these slides and warp annotated images. VALIS also provides functions to convert slides to the ome.tiff format, preserving the original metadata. Please see examples and documentation for more details.
Full documentation with installation instructions and examples can be found at ReadTheDocs <https://valis.readthedocs.io/en/latest/>
_.
MIT
_ © 2021-2024 Chandler Gatenbee
.. _MIT: LICENSE.txt