Skip to content

Manual raw image and ROI reopening disagree on acquisition XY scale #171

Closed

Description

@trissim

Owner: OpenHCS blind-analysis integration coordinator (#153). Live installed reproducer uses OpenHCS main 0c7b898 plus merged PolyStore POINT codec e430c331ad931edc92dfe9d4fcd0d837a3cfeea8, on isolated display :90/TCP5691. Generate a 128×128 one-image prepared workspace with acquisition pixel_size=0.65; save explicit synthetic native POINT ROIs in images_results with source_spatial_shape_yx=(128,128); use public openhcs_stream_plate_files_to_viewer, kind=all, to reopen raw image and archive together.

Observed public MCP viewer state: raw native_transform.scale ends (1.0,1.0), POINT native_transform.scale ends (0.65,0.65), translations both zero. Three exact fractional point coordinates survive the archive but the raw/result world-coordinate mappings disagree. Screenshot was opened and visually inspected; this is rejected as an aligned QA witness, not biological acceptance.

Source lead: ViewerStreamingSource.roi_image_metadata derives plate calibration, while load_image only gets file/source-projection metadata. Plain prepared TIFF projection omits that calibration, leaving the image at unit scale. Extend the existing source metadata owner, preserve explicit file/carrier calibration, and derive both native projections from acquisition metadata when no richer spacing exists. Do not patch viewer scale by hand or change scientific files.

Acceptance: same-coordinate raw/result/combined live installed MCP captures with equal XY scale/translation; exact POINT coordinates/features/source components preserved; regression covers both viewer backends and explicit anisotropic/relative/source-carrier calibration without overwriting it. Parent result-directory work remains #134.

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