scipp / scipp/ess

Programetic image alignment tool

Open
#27 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

essimaging
Dominant language
Python
Stars
1
Forks
3
Avg merge
2d 11h
Merged PRs (30d)
17

Description

Leftover work from testing in October, 2025 at ODIN.

For spatial resolution measurement with Siemenstar using MTF method, we need a reference image to be well aligned with the measure sample.
It's not so easy to align the sample in the camera view so it's easier to manipulate the reference image instead.

There is a python package called pystackreg that has automatic alignment of image.
We can make a wrapper that can use scipp data structure or make sth like this.

Example Images

Here are examples of alignment.
The refernce image needs, all three types of manipulations:

  • Rotation: The pictures are rotated from how the camera is mount or sample is mount.
  • Scaling: Based on the camera setting, the picture can be zoomed in or out.
  • Translation

Reference Image

Image

Measured Image

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the pystackreg package and how scipp represents image data. Define the wrapper boundary and verify it can align the reference and measured images through rotation, scaling, and translation using the provided examples.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.