Skip to content

convert --to ome-tiff drops magnification (and make/software/datetime) #27

Description

@cornish

Summary

convert --to ome-tiff drops several source metadata fields that the SVS→svs and
SVS→tiff paths (partly) preserve. On a 20× Aperio source:

field source ome-tiff output
mpp 0.499 0.499 ✅
magnification 20 0 (dropped)
make Aperio (empty)
software Aperio Image Library v11.2.1 (empty)
datetime 2009-12-29T09:59:15Z (empty)

MPP survives; magnification and the identity fields do not.

$ wsitools convert --to ome-tiff -f -o out.ome.tiff CMU-1-Small-Region.svs
$ wsitools info out.ome.tiff | grep -iE 'magnif|make'   # no Magnification / Make line

Impact

OME-TIFF outputs silently lose objective magnification (and make/software/datetime).
Magnification is load-bearing for downstream analysis. Found by the automated CLI
matrix audit (scripts/qa/audit.sh, cross-container metadata check).

Fix direction

Populate the OME-XML with the source magnification (Objective NominalMagnification)
and the make/software/acquisition-date fields in the OME-TIFF writer path
(cmd/wsitools/convert_tiff.go OME description synthesis / SyntheticOMEDescription).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions