Find tissue
Find tissue looks at a coarse level of the whole image (at most 4,096 pixels across) and keeps what differs from the background: on brightfield slides, the stained areas against the bright glass; on fluorescence, the signal against the dark. The regions become shapes of class Tissue, undoable as one change.

Later steps can look in the tissue instead of a region you draw: a recorded session run on other images does so.
lucem hist tissue slide.ome.zarr --out tissue.geojson # brightfieldlucem hist tissue slide.ome.zarr --fluorescence --out tissue.geojsonimport lucem
img = lucem.io.open("slide.ome.zarr")regions = lucem.hist.find_tissue(img, fluorescence=True)print(f"Found {len(regions)} tissue region(s)")let regions = lucem_hist::tissue::find(&client, &pyramid, 0, ¶ms)?;