Explore and annotate your multi-channel large TIF files with this user-friendly viewer.
Project description
ImmunoViewer
Explore and annotate your multi-channel large TIF files with this user-friendly viewer.
Table of Contents
About ImmunoViewer
ImmunoViewer is a convenient tool for viewing scanned TIF files, particularly those generated by the Keyence Immuno Fluorescence scanner. The viewer allows you to add annotations to the images and supports multi-channel images by saving channels as separate big TIF files. You can customize the color and signal intensity for each channel. We welcome your suggestions for additional features.
Installation
Install OpenSlide
ImmunoViewer requires OpenSlide to generate tiled images (not necessary for the viewer). If you use Conda to install ImmunoViewer, it will automatically install OpenSlide.
To install OpenSlide using a Conda environment, run this command:
conda install -c conda-forge openslide
For installation instructions on other operating systems, visit the OpenSlide download page: OpenSlide
Install from github
Ensure that you have also installed OpenSlide.
git clone https://github.com/davidvi/ImmunoViewer.git
cd ImmunoViewer
python setup.py install
Install from pip
Ensure that you have also installed OpenSlide.
pip install ImmunoViewer
Usage
Folder structure
Organize your TIF files in a folder using one of the following structures:
- data_directory/sample_name/sample_file.tif
- data_directory/project_name/sample_name/sample_file.tif
- data_directory/project_name/sample_name/[ch1.tif, ch2.tif, chN.tif]
Generate tiles
To generate the tiles, execute the following command:
ImmunoViewerProcess -t [number of threads] [data_directory]
Run the viewer
To start the viewer, run the following command:
ImmunoViewerServer -p [port (default is 5000)] -l [IP address (default = 0.0.0.0)] [data_directory]
Now you can navigate to http://[IP address]:[port] in your web browser to access ImmunoViewer.
If you leave the IP address to default (0.0.0.0) and the port is exposed to the network other people can also view your slides.
Acknowledgements
The script to tile big TIF files was adapted from the OpenSlide-python repo.
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 immunoviewer-0.2.2rc2.dev0.tar.gz
.
File metadata
- Download URL: immunoviewer-0.2.2rc2.dev0.tar.gz
- Upload date:
- Size: 4.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5775f74ed40685cd3e6dd654c4327e1d0a422676d117d4bc920934607bf0dc44 |
|
MD5 | ef929c68185a5cb1dc90f225c5912ac9 |
|
BLAKE2b-256 | 1ae3d0d0702000e2faa7fc507949671dd7330e02dd4cde78108ac0fa1f206da2 |
File details
Details for the file ImmunoViewer-0.2.2rc2.dev0-py3-none-any.whl
.
File metadata
- Download URL: ImmunoViewer-0.2.2rc2.dev0-py3-none-any.whl
- Upload date:
- Size: 4.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d60207cd1b46fb7fdd3c3f48c5e76f6ce2afe15e2b0405c351dda47cba49fc6c |
|
MD5 | 31ec73571259b5ad1b0fd8f02b7e6ae4 |
|
BLAKE2b-256 | fe42c9b5eb52756b986301d55f2ddf9a3cdf4037532beac1679ee49334cc47a8 |