Skip to content

How it works

The pipeline: a .mcd file is read, converted and stitched, optionally post-processed, and written as OME-TIFF

Read

Each region comes straight out of the .mcd file, with its channels, pixel size, acquisition time and stage position. MCD Stitcher reads the file itself, so nothing else needs to be installed.

Convert

Every region is written to its own OME-TIFF, with its channel names in the file's metadata.

Ten per-region OME-TIFFs and the stitched canvas

Stitch

The regions are placed on one canvas at the stage positions recorded when they were acquired. There is no registration and no seam blending, so the canvas shows exactly what was acquired.

Ten regions outlined and numbered on the stitched canvas

Outlines and indices drawn from the file's own metadata: the same indices -m prints and -r selects.
  • Regions acquired at different step sizes are resampled onto the finest common grid.
  • Where regions overlap, the earliest acquisition stays on top.
  • Space between regions is left empty.

The stitched canvas

Ten regions stitched into one 7.0 × 4.6 mm OME-TIFF at 0.5 µm/px: 45 channels, three shown.

Native resolution, end to end

Stitching costs no detail: a 7.0 × 4.6 mm canvas at 0.5 µm/px still resolves single cells.

Whole canvas beside a native-resolution crop

Post-process

Two optional copies are made from the converted or stitched files:

  • Channel subsets (_filtered) hold only the channels you choose, for smaller files.
  • Pyramids (_pyramid) store the image as tiles at several resolutions, so large canvases pan and zoom smoothly.

A pyramid: the same image at full, half, quarter and eighth resolution, each stored as tiles

Built for large slides

Every run plans its work against the memory available. A canvas too big for it is built in several passes, and a very large region is read in channel groups, so the same run completes on a laptop and on a cluster node. See Memory for where the budget comes from.

The paper

The method and its evaluation are described in the preprint:

Chaurasia, P. (2026). MCD Stitcher: An open-source tool for whole-slide stitching and conversion of Imaging Mass Cytometry data. bioRxiv.

Read the preprint