Skip to content

Commit

Permalink
Update LP_fusion_rgb.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmark36 authored Jan 14, 2023
1 parent 0072893 commit b166e6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LP_fusion_rgb.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def gausspyr_expand(x, sz=None, kernel_a=0.4):

# Size of the output image
if sz is None:
sz = (x.shape[0]*2, x.shape[1]*2)
sz = (x.shape[0]*2, x.shape[1]*2)

x = x.reshape(x.shape[0], x.shape[1], -1) # Add an extra dimension if grayscale
y = np.zeros([sz[0], sz[1], x.shape[2]]) # Store the result in this array
Expand Down

0 comments on commit b166e6f

Please sign in to comment.