Skip to content

Commit

Permalink
Use light gaussian filtering during coarse alignment (labsyspharm#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmuhlich authored Apr 15, 2024
1 parent 387eff5 commit e8828ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ashlar/thumbnail.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ def make_thumbnail(reader, channel=0, scale=0.05):


def calculate_image_offset(img1, img2, upsample_factor=1):
ref = utils.window(utils.whiten(img1, 0))
test = utils.window(utils.whiten(img2, 0))
ref = utils.window(utils.whiten(img1, 1))
test = utils.window(utils.whiten(img2, 1))
shift = phase_cross_correlation(
ref,
test,
Expand Down

0 comments on commit e8828ef

Please sign in to comment.