Describes an image, mask or segmentation run with the shared coordinate
convention, plane, pixel size, legend, review state, protocol reference,
runtime and asset inventory. The result conforms to
inst/schema/segmantR-interchange-v1/manifest.schema.json.
Arguments
- x
An
sg_image,sg_mask,sg_run, or a named list withimage,mask,runand/ormeasurements.- ...
Reserved; must be empty.
- image
Optional
sg_imagethe mask belongs to.- assets
Asset records (
role,path,media_type,size_bytes,sha256), normally filled bysg_export_interchange().- conversions
Conversion records (
from,to,fidelity,notes).- kind
Optional manifest kind override.
Examples
m <- sg_example_mask("fluorescence_nuclei")
man <- sg_interchange_manifest(m)
man$mask$label_count
#> [1] 15
man$coordinate_convention$y_axis
#> [1] "down"