Commit 15b3804e authored by Nicola Vigano's avatar Nicola Vigano
Browse files

Alignment: fixed typo

Signed-off-by: Nicola Vigano's avatarNicola VIGANÒ <>
parent 1b664797
......@@ -372,7 +372,7 @@ class AlignmentBase(object):
def _compute_correlation_fft(img_1, img_2, padding_mode):
do_circular_conv = padding_mode is None or padding_mode == "wrap"
if not do_circular_conv:
padding = np.ceil(np.array(img_2.img_shape) / 2).astype(
padding = np.ceil(np.array(img_2.shape) / 2).astype(
img_1 = np.pad(img_1, ((padding[0],), (padding[1],)), mode=padding_mode)
img_2 = np.pad(img_2, ((padding[0],), (padding[1],)), mode=padding_mode)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment