Skip to content
Snippets Groups Projects
Commit 7512af6c authored by Andrey Aristov's avatar Andrey Aristov
Browse files

register smoothed

parent 483d7164
Branches
No related tags found
No related merge requests found
Pipeline #82739 passed
...@@ -55,7 +55,7 @@ def align_stack(data_or_path, template16, mask2, plot=False, path_to_save=None, ...@@ -55,7 +55,7 @@ def align_stack(data_or_path, template16, mask2, plot=False, path_to_save=None,
stack_mask_scale = binnings[2] // binnings[0] stack_mask_scale = binnings[2] // binnings[0]
f_bf = bf[::stack_temp_scale, ::stack_temp_scale] f_bf = bf[::stack_temp_scale, ::stack_temp_scale]
f_bf_sm = ndi.gaussian_filter(f_bf, 2)
# f_bf = filter_by_fft( # f_bf = filter_by_fft(
# bf[::stack_temp_scale, ::stack_temp_scale], # bf[::stack_temp_scale, ::stack_temp_scale],
# sigma=40, # sigma=40,
...@@ -63,7 +63,7 @@ def align_stack(data_or_path, template16, mask2, plot=False, path_to_save=None, ...@@ -63,7 +63,7 @@ def align_stack(data_or_path, template16, mask2, plot=False, path_to_save=None,
# fix_vertical_stripes=True, # fix_vertical_stripes=True,
# highpass=True # highpass=True
# ) # )
tvec8 = get_transform(f_bf, template16, plot=plot) tvec8 = get_transform(f_bf_sm, template16, plot=plot)
plt.show() plt.show()
tvec = scale_tvec(tvec8, mask_temp_scale) tvec = scale_tvec(tvec8, mask_temp_scale)
print(tvec) print(tvec)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment