Skip to content

Coming from QuPath

If you already use QuPath for whole-slide pathology or multiplex immunofluorescence, Lucem’s workflow will feel immediately familiar — with GPU-accelerated pipelines, native Python @lucem.op scripting, and browser-ready lucem serve hosting.

QuPath Lucem equivalent
Project (project.qpproj) Project folder (project.json + session.json + histology/)
Annotations (Rect, Polygon, Wand) Shapes in Explore (R, P, W with Snap to edges & Alt-erase)
Magic Wand tool Wand (W) — supports both Flood fill and Smart brush, Sobel gradient barrier, Smooth, hole filling, drag-to-add, and Alt-to-erase
Cell detection (Watershed / StarDist / InstanSeg) Histology › Count cells (built-in GPU threshold + CUDA StarDist & InstanSeg plugins)
Groovy scripts Code workspace (Python @lucem.op & Rust ops with LSP + Astral ruff) or lucem Python API
Measurement tables & Show detection measurements Analyze workspace (Polars on desktop, Region LOD summaries in browser)
Export GeoJSON / TSV File › Export GeoJSON / Export cells (GeoParquet, Parquet, CSV, GeoJSON)
Send region to ImageJ / QuickFigures Built-in Figure workspace (channels, stages, scale bars, PNG & SVG export)

Example: StarDist cell detection in a region

Section titled “Example: StarDist cell detection in a region”
Terminal window
lucem hist cells slide.ome.zarr \
--detector stardist-fluo \
--channel DAPI \
--out cells.parquet

Why large whole-slide detections stay responsive in Lucem

Section titled “Why large whole-slide detections stay responsive in Lucem”

In browser mode (lucem serve), Lucem keeps the full 100k–1M cell dataset on the server and streams lightweight viewport PNG overlays (hist/raster) as you pan and zoom — so the browser never freezes downloading or rasterizing hundreds of thousands of JSON polygons.