Skip to content

iago-bm/NanoPEACH_code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4bb3fa4 · Nov 13, 2024

History

21 Commits
Sep 28, 2024
Oct 31, 2024
Nov 13, 2024
Sep 28, 2024

Repository files navigation

This repository contains the code referenced in the paper Redundant Cross-Correlation for Drift Correction in SEM Nanoparticle Imaging. A preprint is available on arXiv: arxiv.org/abs/2410.23390

Example usage

test_series = ImgSeries("C:\\path\\to\\image\\folder", (0, 9)) # use the first 10 images from a given folder
test_series.gaussian_blur((13, 13)) # preprocess with 13x13 gaussian blur

# get the full shift graph
test_graph = ShiftGraph(test_series)
test_graph.get_full_graph()

# create and save overlay image
result = test_graph.get_overlay_image()
cv2.imwrite("test.png", result)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published