A Python-based GUI for Histological E-data Registration in Brain Space
Project description
HERBS
A Python-based GUI for Histological E-data Registration in Brain Space
HERBS is an open source, extensible, intuitive and interactive software platform for image visualisation and image registration. Where the image registration is the process of identifying a spatial transformation that maps images to a template such that corresponding anatomical structures are optimally aligned, or in other words, a voxel-wise ‘correspondence’ is established between the images and template.
HERBS has been tested on Windows (10 and 11), MacOSx (Big Sur - Monterey), Linux (Kubuntu 18.04, Ubuntu 22.04 LTS), and as a python application, it should run in all environments supporting python 3.8.10-3.10.4 / 3.9.0 with NumPy < 1.23 and PyQt5 >= 5.14.2 as a GUI framework. For details, please see HERBS CookBook (coming soon).
HERBS provides users:
- 2D and 3D visualisation of brain atlas volume data and arbitrary slicing.
- Image registration with interactive local elastic deformation methods in current version.
- 2D and 3D visualisation of user defined data.
Install
$ pip install herbs
Please install the newest version of HERBS.
Usage
import herbs
herbs.run_herbs()
After running the above scripts, a GUI window will pop up. Users can download atlas and upload images for further process,
For more information, please read HERBS CookBook (coming soon) or check the Tutorial folder for corresponding functionalities.
Some Pre-Requirement Issues
-
In order to run HERBS properly, 64 bit operating systems and 64 bit Python are required.
-
3D visualisation in HERBS depends on OpenGL, if you face to the problem that no OpenGL is installed on your machine, please see (https://www.opengl.org) to download and install accordingly.
-
For the current version of HERBS, Python is required to be installed. Please see (https://www.python.org) for downloading.
-
If you would like to install HERBS through terminal, pip is required.
- Check if pip is installed,
pip --version
orpip help
. - Use
python3 -m ensurepip
for MacOS to install pip. - Use
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
to download requiring file for installing pip on Windows andpython get-pip.py
to install pip. - Please update pip to the newest version before installing HERBS.
- Check if pip is installed,
-
We strongly recommend users to use Python and install packages with virtual environment. For no-coders, we strongly recommend to use IDE to create environment at the moment. A desktop app of HERBS is coming soon.
Please report your issues: https://github.com/JingyiGF/HERBS/issues. Please have a good description (maybe a screenshot or an error message). Any feedback welcome!
Please feel free to start any discussion: https://github.com/JingyiGF/HERBS/discussions.
Finally
HERBS is 'always' in development, please check updates every time before you use it.
Hope this tool makes your amazing research life more tasty :-)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file herbs-0.0.12.tar.gz
.
File metadata
- Download URL: herbs-0.0.12.tar.gz
- Upload date:
- Size: 320.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 740b93dbe3ddae5041232de34ac5b1b36fa6d9d26046315b1c0be782ed094ee8 |
|
MD5 | 70bc9d1490545a85e326ddb63168f4e4 |
|
BLAKE2b-256 | 45a6f1c11fdac367b7a6fbb52bcf238cc7a6db6de349f8660638135f95bf480b |
File details
Details for the file herbs-0.0.12-py3-none-any.whl
.
File metadata
- Download URL: herbs-0.0.12-py3-none-any.whl
- Upload date:
- Size: 395.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe36a00088c2907f0af89ae8dd88b519af3f6122fcc861fa1a3285f6feace0e2 |
|
MD5 | 6a875c32ac3c1b3c90ebf54631e299f7 |
|
BLAKE2b-256 | 1ca074536e1a745010eb5248c96f3a9db26b0fd44794ee9208833542237a2c77 |