Skip to content

segmenter: emit bbox dimensions in pixels (bw/bh)#954

Merged
sonnyp merged 1 commit into
mainfrom
fix/segmenter-bbox-pixel-dims
May 5, 2026
Merged

segmenter: emit bbox dimensions in pixels (bw/bh)#954
sonnyp merged 1 commit into
mainfrom
fix/segmenter-bbox-pixel-dims

Conversation

@babo989

@babo989 babo989 commented May 5, 2026

Copy link
Copy Markdown
Collaborator

segmenter: emit bbox dimensions in pixels (bw/bh)

Adds `bw` and `bh` to per-object metadata, the
bounding-box width and height in pixels.

Existing `width` and `height` stay in µm (multiplied by `process_pixel` when calibrated) for EcoTaxa compatibility — but downstream pixel-space consumers like the audit visualizer need a pixel companion to add to `bx`/`by` without unit-mixing.

With this in place, the audit dashboard can be updated to use `object_bw`/`object_bh` instead of treating µm-space
`object_width`/`object_height` as if they were pixels."

@sonnyp sonnyp merged commit 151c73e into main May 5, 2026
1 check passed
@sonnyp sonnyp deleted the fix/segmenter-bbox-pixel-dims branch May 5, 2026 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants