Using Pyre

Pyre is the interactive registration tool. Install it with Installing Pyre on Windows, or run a developer build with Pyre development.

Open a registration with File → Open STOS File (Ctrl+O). To register a new pair, open the images with File → Open Source Image and File → Open Target Image. File → Open STOS Folder Browser lists every .stos file in a folder. Save with File → Save STOS File (Ctrl+S).

The same mouse and keyboard reference is built into Pyre: Help → Mouse and Keyboard Controls (F1).

Control points

These bindings apply to the Source, Target, and Composite STOS windows.

On a control point:

  • Click to select only that point. Shift+Click adds it to or removes it from the selection.

  • Drag to move it. Shift+Drag starts a box selection instead.

  • Alt+Shift+Click auto-aligns it.

  • Shift+right-click deletes it.

On empty space:

  • Click to clear the selection.

  • Drag to box-select. Alt+Drag lasso-selects. Hold Shift as well to add to or remove from the selection.

  • Shift+Click or middle-click adds a control point. Alt+Shift+Click adds one and auto-aligns it.

  • Alt+Click moves the selected point to the cursor (exactly one point selected).

  • Ctrl+Drag moves all control points together, translating the mapped (source) image (one or no point selected).

Delete or Backspace deletes the selected points.

By transform type:

  • Mesh and RBF: every binding above. Deleting keeps at least three control points.

  • Grid: points can be moved but not added or deleted; trying either offers to convert the transform to a mesh. Source points cannot be moved in the Source window; move them in the Target or Composite window.

  • Rigid: there are no control points. Drag moves the mapped image in the Source or Composite window. Adding a point offers to convert the transform to a mesh.

Alignment keys

  • Rigid: Space runs a brute-force refine of the whole section (downsampled to 1024 px) at the current angle: it finds translation and refines scale. Shift+Space also searches the angle (±7.5° at 1° steps). Both are also in the Registration menu.

  • Mesh / RBF: Space auto-aligns the selected control points and the point under the cursor. Shift+Space auto-aligns all points. Holding Space aligns each point once: sweep the cursor over points to align them in turn, and release and press again to re-align one.

  • Grid: Space auto-aligns like Mesh. Shift+Space runs one grid-refine pass (settings dialog, then a live preview). Registration → Refine w/ Grid runs the chosen number of iterations as one job and updates the view after each pass. Several Shift+Space presses are not the same as that multi-pass job.

  • Esc (or Registration → Cancel Registration, or the status-bar Cancel) cancels queued point alignments and any running refine or rotate job. Points already moved stay moved. While you are creating a point or dragging a selection box, Esc cancels that instead.