Utility functions for generating, saving, and converting annotation files
Project description
fusion-tools
Some utilities, accession, and visualization tools for data derived from FUSION (Functional Unit State Identification in WSIs).
Installation
$ pip install fusion-tools
Usage
fusion-tools
is intended to bring some of the functionality found in FUSION to developers working with whole slide images (WSIs) stored locally.
One such example would be the TileServer and LocalSlideViewer class:
from fusion_tools.visualization import TileServer, LocalSlideViewer
import threading
path_to_slide = '/path/to/wsi.svs'
tile_server_port = '8050'
tile_server = TileServer(
local_image_path = path_to_slide
)
new_thread = threading.Thread(target = tile_server.start, name = 'tile-server', args = [tile_server_port])
new_thread.daemon = True
new_thread.start()
slide_viewer = LocalSlideViewer(
tile_server_port = tile_server_port,
app_port = '8080'
)
Contributing
please
License
fusion-tools
was created by Samuel Border. It is licensed under the terms of the Apache 2.0 License
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
fusion_tools-0.0.4.tar.gz
(7.0 kB
view hashes)
Built Distribution
Close
Hashes for fusion_tools-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a43dddaa29311b827c131321aae9ffab89f070ec0a43ca5a139ce4414433be4 |
|
MD5 | 8e75c5b80fa6ad3b7b06f17bce06a721 |
|
BLAKE2b-256 | 8a67f1cf3c62e48b5cf28a60e9fd34322f52d937e95aec9730cf1c081363eca8 |