You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build an interactive canvas drawing tool that allows users to select a Region of Interest (ROI) and automatically map those coordinate back to scan plan input fields
Goals
Acceptance criteria : What journeys should the user be able to complete to consider your feature done
Be as specific as you can, check them off once they work. Add more if you find more requirements during development. Issue should only be considered done after all of them are checked
Canvas Drawing Interaction: The user can draw a selection box on the plotting canvas
Form Auto-fill: The physical coordinates corresponding to the drawn ROI bounds automatically populate the scan range input fields.
Tasks
base on the goals, deduce the tasks required. check them off once they're done
Note
This is heavily depend on the core infrastructure direction.
Davidia ROI Integration: Investigate if Davidia's built-in region selection tools can be leveraged for this.
Interactive Canvas Drawing: Build box/polygon drawing tools on top of the active canvas layer.
Inverse Matrix Mapping: Map drawn back to physical stage using the inverse transformation matrix.
Includes notes from a meeting with David Burn, 15/09/2025 and @EmsArnold
Notes
An ROI produces one reconstruction covering the whole ROI, but can produce image
but the user likely only interested in the reconstruction.
Applying a transformation from the UI will move motors. This is not a display-only
operation. User-supplied offsets translate into real-space transformations and changes
to motor positions.
Because UI offsets become motor moves, this tool:
validation against stage travel before anything moves
a dry-run step
Needs deciding: does an ROI-driven move
go through the queue, or is there a separate direct path for interactive moves?
Priority stage
Declared implicitly by which coordinate frame the user has selected on the canvas drop down, rather than
configured separately.
Scope to define
ROI validation against stage travel. Presumably this goes through the matrix chain,
but nobody has confirmed how, and it needs an owner.
Inverse mapping (pixel to real space) belongs in the shared maths package described
in #379, not in the Davidia server.
lives and whether that is the right home for it.
Activity
[-]Add ROI interactive selection tool to auto-fill scan regions.[/-][+]Interactive ROI Selection Tool[/+]NKatti2011 commentedon Sep 16, 2026
Includes notes from a meeting with David Burn, 15/09/2025 and @EmsArnold
Notes
but the user likely only interested in the reconstruction.
operation. User-supplied offsets translate into real-space transformations and changes
to motor positions.
Because UI offsets become motor moves, this tool:
Needs deciding: does an ROI-driven move
go through the queue, or is there a separate direct path for interactive moves?
Priority stage
Declared implicitly by which coordinate frame the user has selected on the canvas drop down, rather than
configured separately.
Scope to define
but nobody has confirmed how, and it needs an owner.
in #379, not in the Davidia server.
lives and whether that is the right home for it.
duplicate it?
from them.