A workbench for
biomedical imaging

Explore volumes, segment cells and measure the original image in one local study. Select a point in a plot to see the cell it came from.

Beta 3 for Apple silicon Macs, macOS 14 or later

Full Loci window showing a three-color human stem-cell colony and the fluorescence channel inspector.

Inspect the original channels

Adjust display contrast per channel, step through Z, or project an optical range. Measurements always read the unwindowed source intensities.

Specimen
Human iPSC colony (BBBC034v1)
View
Z15–20 max projection, 3 channels
Pitch
0.065 × 0.065 × 0.29 µm
Full Loci volume workspace with linked XY, XZ, YZ and 3D views of a confocal Arabidopsis ovule.

Explore a volume in four linked views

Orbit a shaded 3D volume or snap along a native acquisition axis. One crosshair locates the exact voxel across XY, XZ and YZ planes.

Specimen
Arabidopsis thaliana ovule
Format
Imaris IMS, normal shading
Grid
256 × 256 × 243 voxels
Full Loci window displaying a zoomed brightfield tissue section with its whole-slide navigator.

Move from tissue to individual cells

Zoom from the slide overview to native pixels. Loci reads the tiles in view. Saved regions stay anchored to slide coordinates.

Specimen
Aperio CMU-1 H&E slide
Extent
46,000 × 32,914 px (1.51 GP)
Decode
Bounded level-0 tile reads
Full Loci window showing three orthogonal sections of the ICBM152 brain template and their shared location.

Locate anatomy across planes

Follow one physical millimetre coordinate through axial, coronal and sagittal sections with patient orientation preserved from source headers.

Specimen
ICBM152 2009b T1 template
Format
Scalar NIfTI, LPS frame
Spacing
0.5 mm isotropic
Full Loci time-series view with the organoid image, lineage controls and a selected tracking link.

Follow cells through time

Play a 3D time-lapse, step through parent–daughter division links, and inspect every endpoint directly on its original source frame.

Specimen
OrganoidTracker 2.0 movie
Graph
6,802 positions, 6,665 links
Extent
51 time points, 30 Z slices
Full Loci window displaying an unstained cell field and the calibrated line measurement.

Measure on calibrated pixels

Draw lines, boxes and polygons on label-free microscopy. Loci anchors every vertex to native coordinates and reports calibrated physical spans.

Specimen
Digital holographic microscopy
Span
13.589 µm saved line
Pitch
0.107 µm/px, 550 × 660

One location in four views

Move the crosshair in Loci and all three sections follow the same point. Rotate the maximum-intensity projection to place that point in the volume.

Three linked anatomical slices with a rotating projection of the ICBM152 template in Loci

Anatomical MRI

Follow the T1 signal through axial, coronal and sagittal slices of a human head template. The source grid has 0.5 mm isotropic spacing.

Three orthogonal fluorescence sections and a rotating projection of a human iPSC in Loci

Stem-cell fluorescence

Follow a human iPSC through its three fluorescence channels. Each optical section is 0.29 µm from the next, with 0.065 µm between pixels in the plane.

Trace every measurement

Choose a cell outline or a point on the plot. Its area, nearest neighbor and position belong to the same saved object. The fingerprints identify the image, model and label array used to measure it.

Human iPSC colony center field (924 × 624 px, Z40) showing plasma membrane, beta-actin and DNA.
BBBC034v1, Z40, 924 × 624 px, 0.108 µm/px
Area vs. nearest neighbor 38 cells
Cell #18 Cellpose-SAM v2
Area
309.32 µm² (26,356 px)
Nearest cell
15.27 µm (Cell #12)
Centroid
X 387.6, Y 356.4 px
Plane
Z40, native XY grid
Checkpoint
cpsam_v2, 0f1cc3f7…253c667
Input PNG SHA-256
fa6edeff…2a1bcb
Label array
6c76f68b…7d9c14b
Run receipt
b2e4f9ff…85436d

One mask, two channels

Cellpose found the boundaries on membrane fluorescence. Loci applied the same mask to the original 16-bit β-actin channel and averaged the pixels inside it.

Grayscale membrane fluorescence in a human stem-cell colony
a Membrane fluorescence
Six Cellpose instances shown in different colors on the membrane image
b Cellpose instances
Grayscale beta-actin fluorescence on the same native grid Object 6 overlaid on the measurement channel
c β-actin in the selected mask

Object 6 averages 827.16 raw counts across 1,298 pixels.

Review the segmentation

Slide the divider to compare a prediction with its input. Explore more methods in the Model Zoo. In Loci you can inspect an object, correct its mask and return to either saved revision.

Dense field of cultured mammalian cells before segmentation
Same field with 710 Cellpose-SAM predictions shown in color
Original Cellpose-SAM

Cellpose-SAM predicted 710 objects in this 1,024 × 704 pixel field.

Loci workbench comparing two nuclei segmentation predictions on Hoechst U2OS fluorescence with a ring highlighting an unmatched label.

Compare two masks directly

Step through the nuclei found by only one method. The comparison opens each one on the source image.

56 matched 10 ONNX only 11 classical only IoU 0.76, Dice 0.87

Connect an analysis agent

Give your agent access to a study through the Model Context Protocol (MCP). Here it previews Cellpose on the membrane channel and requests your approval to measure β-actin.

  1. Ask an assistant to find cells using the membrane channel.
  2. Choose the image, region, model and measurement channel to share.
  3. The worker verifies the installed checkpoint before running a local preview.
  4. The workbench retains the exact preview for inspection.
  5. Inspect the overlay and approve the exact prediction.
  6. Save the mask with its raw per-cell actin measurements.

You can direct a connected agent remotely. Loci checks each request against your study permissions, which you can revoke at any time.

See setup and review screens in Loci

Read gene counts on tissue

Select a gene to see its measured counts on registered H&E sections. The two marked spots share a barcode but lie at different tissue locations. Loci keeps each count with its own section.

Slc17a7 counts over mouse brain coronal section 1 H&E image
Coronal section 1 Slc17a7 accounts for 101 of 48,989 gene-expression UMIs here.
Slc17a7 counts over mouse brain coronal section 2 H&E image
Coronal section 2 Slc17a7 accounts for 111 of 27,039 gene-expression UMIs here.
Slc17a7 UMIs 0 1–24 25–99 100+

Cross-field cell populations

Combine reviewed segmentations across fields in Study → Cells, save an intensity range, and click any row to jump to its nucleus on the original frame.

BBBC039 fieldMeasuredIn gate
A06, site 65921
A15, site 511349

Use the same study from code

Filter measured objects from the command line or export a saved Cells table for independent analysis. Loci includes Python and R readers with the table.

loci-cli, colony.loci-study
$ loci objects --project colony.loci-study --area 120:350 --spacing 10:40 --limit 3
Study: BBBC034, colony center  |  Objects: 19 of 38 after filters

Label   Area (um^2)   Nearest centroid distance (um)
-----   -----------   ------------------------------
1       137.453       11.0888
3       122.455       11.4567
4       198.598       11.4567

$ loci locate 4 --project colony.loci-study
Result-grid index (zero-based): Y=91, X=346

Work with large images

Loci opens a slide at an overview level and reads full-resolution tiles as you zoom. These timings come from individual reads in an isolated worker.

Bounded whole-slide memory

Loci decodes only the tiles on screen instead of inflating multi-gigabyte slides into RAM.

Reading a native tile

The first tile takes longer than a repeat read. Opening the file also records its fingerprint.

SlideStartup + hashFirst readWarm read
Aperio SVS7 ms1.1 ms0.3 ms
Hamamatsu NDPI96 ms1.6 ms0.1 ms

Local model previews

Set the region and channels before inference. The Cellpose preview runs with a bounded working-memory budget and returns an overlay for inspection.

Export a calibrated figure

Export individual channels, a color merge and a scale bar together. In this example each panel retained its 924 × 624 source grid in PNG and 16-bit TIFF.

Exported calibrated fluorescence figure showing plasma membrane grayscale, beta-actin grayscale, color merge and a 20 micrometre scale bar.

Get Loci

Download the Mac app, open an image and save your first study. The user guide includes a first study you can try offline.

macOS ZIP SHA-256
2e7159e04d42fa24dc2861ec47b5846026963ad463c909958c68c13e78da3d32

462 MB ZIP for Apple silicon, macOS 14 or later. Ad-hoc signed and unnotarized. Release notes.

Installing for the first time

Compare the ZIP checksum with the release checksums, then unzip it and move Loci to Applications. If macOS blocks the verified app, use Privacy & Security → Open Anyway in System Settings.

Supported formats

Microscopy
TIFF, OME-TIFF, BigTIFF, OME-Zarr, IMS, PNG, JPEG
Whole-slide
Aperio SVS, Hamamatsu NDPI
3D medical
NIfTI, NRRD, CT / MR DICOM
Vendor conversion
CZI, ND2 and LIF via Bio-Formats

Working with a study

Keep the originals in place. Loci stores reviewed labels, measurements and revisions in the study. Use a portable study export to carry supported data between computers.

Cite Loci

Workbench view

Original image