8000 Support setting metadata when writing CZI files, including pixel size · Issue #22 · ptahmose/MEXlibCZI · GitHub
[go: up one dir, main page]

Skip to content

Support setting metadata when writing CZI files, including pixel size #22

Closed

Description

@ptahmose

Description

The MATLAB interface currently appears to lack a way to specify pixel size when writing CZI files. Users need this functionality to preserve the physical scale of their image data.

While pixel size is the immediate use case, this feature should be considered in the broader context of writing metadata. The API should provide an extensible way to set CZI metadata, rather than introducing a solution limited to pixel size.

Expected behavior

  • Users can specify physical pixel sizes along X and Y and, for volumetric data, Z spacing, with clearly documented units.
  • Values are written to the appropriate CZI metadata so compatible readers can interpret them.
  • The design considers how other metadata fields can be supported through the same interface.
  • Documentation includes a MATLAB example for setting pixel size.

Acceptance criteria

  • Specified scaling values are preserved when the CZI file is reopened.
  • The implementation establishes an extensible approach for writing metadata; supporting every metadata field is not required in this initial change.
  • Existing workflows that omit metadata continue to work.
  • The supported metadata fields, units, and usage are documented.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      0