Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Methods to stitch a position grid array #135

Closed
wants to merge 14 commits into from
Closed

Methods to stitch a position grid array #135

wants to merge 14 commits into from

Conversation

ieivanov
Copy link
Collaborator

@ieivanov ieivanov commented Mar 28, 2024

TODO:

  • Convert compute_image_translation to CLI and save in config file
  • Test with non-square image and non-square grids

@ieivanov
Copy link
Collaborator Author

ieivanov commented Apr 4, 2024

This version uses an average row_translation and column_translation to stitch all images in a grid. The average row_translation and column_translation are computed using phase cross correlation on a small number of tiles (e.g. 3x3) or using a calibration dataset. No registration is performed between tiles during stitching of larger datasets. It works decently well, but I've seen examples where the stitch is not good in certain sections of the mosaic, likely because the XY stage makes a larger error when moving.

I'm planning a V2 which will compute shifts between all pairs of neighboring images using phase cross correlation. This can be done quickly on the HPC. All images in a given row share the same row_translation - we can compute an average row_translation for each row. Each pair of images will have a unique column_translation. The phase cross correlation algorithm could make errors in estimating the shift - we'll replace outliers with the mean value across the dataset.

@ieivanov ieivanov mentioned this pull request Jul 1, 2024
2 tasks
@ieivanov
Copy link
Collaborator Author

ieivanov commented Jul 1, 2024

Replaced by #137

@ieivanov ieivanov closed this Jul 1, 2024
@ieivanov ieivanov deleted the stitch_images branch August 13, 2024 15:51
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.

1 participant