Skip to content

Commit 4da72a2

Browse files
Update src/denoising_data.jl
Co-authored-by: Dominique <dominique.orban@gmail.com>
1 parent bb4ea62 commit 4da72a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/denoising_data.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ J Math Imaging Vis 65, 253–276 (2023). https://doi.org/10.1007/s10851-022-0111
1616

1717
# Function to unpad an array
1818
function unpad(x, n_p, m_p, n)
19-
a = n_p - n
19+
a = n_p - n + 1
2020
x = reshape_array(x, (n_p, m_p))
2121
unpadded_x = x[(a + 1):end, (a + 1):end]
2222
return unpadded_x

0 commit comments

Comments
 (0)