scipy.ndimage
scipy.ndimage module
convolve
c = [2 0 1;
1 0 0;
0 0 0]
k = [0 1 0;
0 1 0;
0 1 0;
0 1 0;
0 1 0]
ndimage.convolve(c, k, mode="nearest")
3×3 Matrix{Int64}:
7 0 3
5 0 2
3 0 1
scipy.ndimage module
c = [2 0 1;
1 0 0;
0 0 0]
k = [0 1 0;
0 1 0;
0 1 0;
0 1 0;
0 1 0]
ndimage.convolve(c, k, mode="nearest")
3×3 Matrix{Int64}:
7 0 3
5 0 2
3 0 1
Settings
This document was generated with Documenter.jl version 0.27.23 on Sunday 4 December 2022. Using Julia version 1.8.3.