Skip to main content

Reusable PyQt6 dialog for browsing and retrieving images from OMERO via ICE

Project description

omero-browser-qt

PyPI Python Docs License: MIT

Reusable PyQt6 dialog for browsing and retrieving images from OMERO servers.

Browser dialog

Features

  • Login dialog with server-name history (credentials never stored)
  • QuPath-style browser — group/owner filters, lazy-loading tree, thumbnail preview, attribute table, name filter
  • ICE pixel loading — full 5-D arrays or tile-based dask lazy loading for large / pyramidal images
  • OMERO viewer — installable multi-channel viewer with optional 3D rendering
  • 3D volume viewer — GPU-accelerated rendering (MIP, Translucent, Isosurface, Additive) via vispy
  • Embeddable in any PyQt6 application

Prerequisites

omero-py requires ZeroC ICE (pre-built wheels for Python 3.10–3.12):

# Example for Python 3.11 on Windows — see docs for all platforms
pip install https://github.com/glencoesoftware/zeroc-ice-py-win-x86_64/releases/download/20240325/zeroc_ice-3.6.5-cp311-cp311-win_amd64.whl
pip install omero-py

Or via conda: conda install -c conda-forge zeroc-ice omero-py

See the Getting Started guide for all platforms.

Installation

pip install omero-browser-qt

This installs the reusable browser/dialog package and the omero_viewer launcher. On Windows, pip creates omero_viewer.exe in the environment's Scripts directory.

For full 3D viewer support:

pip install "omero-browser-qt[viewer]"

Quick start

from PyQt6.QtWidgets import QApplication
from omero_browser_qt import OmeroGateway, OmeroBrowserDialog

app = QApplication([])
gw = OmeroGateway()

for img in OmeroBrowserDialog.select_images(gateway=gw):
    print(img.getName(), img.getId())

gw.disconnect()

For structured selection with project/dataset breadcrumbs:

for ctx in OmeroBrowserDialog.select_image_contexts():
    print(ctx.breadcrumb, ctx.image.getId())

OMERO Viewer

omero_viewer

OMERO Viewer

From a source checkout, you can also run:

python -m omero_browser_qt.omero_viewer

See the OMERO Viewer guide for controls and features.

Documentation

Full documentation: https://cellular-imaging-amsterdam-umc.github.io/omero-browser-qt/

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

omero_browser_qt-0.2.0.tar.gz (2.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

omero_browser_qt-0.2.0-py3-none-any.whl (52.0 kB view details)

Uploaded Python 3

File details

Details for the file omero_browser_qt-0.2.0.tar.gz.

File metadata

  • Download URL: omero_browser_qt-0.2.0.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for omero_browser_qt-0.2.0.tar.gz
Algorithm Hash digest
SHA256 734d58e0d12e4695b55edcdce3dece9c048fc51a8fc35af52a54dd4195a0a8a2
MD5 84e365e998d34d9b056ba960f26bee54
BLAKE2b-256 ff306ea2a3dc14456edc6446f5bdecb150ef3536fa0e4a382f612d2bb009f3d0

See more details on using hashes here.

File details

Details for the file omero_browser_qt-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for omero_browser_qt-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3c828bc39855f9dc2a89d749e6e43f5574045bfbc00c94e17598a14f6f3e41fb
MD5 8bfe7a514f8a6d0c1ac1e6ec42eec867
BLAKE2b-256 1b3b1a0956635332ce561d8bbf17314ec40493f8cb70723431a3f342d7623f2f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page