Reusable PyQt6 browser dialog for Olympus VSI image containers.
Project description
olympus-browser-qt
Reusable PyQt6 dialog and viewer for browsing Olympus / Evident CellSens .vsi
datasets.
This package follows the same public shape as the Leica, Zeiss, and Nikon Qt browsers, but uses a native Python VSI/ETS reader. It does not use Bio-Formats or Java.
Install
pip install -e .
For this checkout, run_viewer.cmd uses the local deconvolve conda
environment when it is available.
Current Status
- Scans folders for
.vsifiles and exposes Olympus image contexts. - Reads TIFF preview/SIS metadata from the
.vsicontainer withtifffile. - Discovers companion ETS files in
_<vsi stem>_/stack*/frame_*.ets. - Natively parses the Olympus
SIS/ETSchunk table for raw uncompressed ETS files. - Reads real
uint8,uint16, integer, and float raw ETS planes and regions. - Generates real previews from ETS planes, with TIFF preview fallback.
Compressed ETS variants such as JPEG, JPEG2000, PNG, BMP, and lossless JPEG are recognized by compression code but are not decoded yet.
Single Select
from PyQt6.QtWidgets import QApplication
from olympus_browser_qt import OlympusBrowserDialog
app = QApplication([])
ctx = OlympusBrowserDialog.select_image_context(roots=[r"D:\data"])
if ctx is not None:
print(ctx.name, ctx.container_path, ctx.size_x, ctx.size_y)
Direct Pixel Reads
from olympus_browser_qt import OlympusGateway
node = OlympusGateway().container_node(r"D:\data\sample.vsi")
ctx = node.children[0].context
plane = ctx.open().read_plane(z=0, c=0)
stack = ctx.open().read_stack(c=0)
arr = ctx.open().read_array()
The public handle returns NumPy arrays. For the sample raw ETS dataset, planes
are real uint16 arrays read from the external .ets file.
CLI
olympus_browser D:\data
olympus_browser D:\data\sample.vsi --multi
olympus_viewer
run_viewer.cmd
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file olympus_browser_qt-0.2.0.tar.gz.
File metadata
- Download URL: olympus_browser_qt-0.2.0.tar.gz
- Upload date:
- Size: 47.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f8593df25a795a0674dadb4f7eef5e0ad4bba8831f6f463a9046506b7c945d1
|
|
| MD5 |
951b6f008a44d41a88e23445c124aefa
|
|
| BLAKE2b-256 |
63edc95cc381be60f8beef0ff70d158f219fe1f70198d98c6d8ea7410ede5b47
|
File details
Details for the file olympus_browser_qt-0.2.0-py3-none-any.whl.
File metadata
- Download URL: olympus_browser_qt-0.2.0-py3-none-any.whl
- Upload date:
- Size: 56.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49291a5dbf3a8f81d34350bc1d1cea997bfb55833718f5645afda83683cc335e
|
|
| MD5 |
8283b93690de5bf9b9a0b3058e501093
|
|
| BLAKE2b-256 |
9df6791e6bdeef05d46ae9ec285901f1b574b9046f38c358ec87d30a7fc14f45
|