Optional
Number of iterations of the algorithm.
1
3x3 matrix. The kernel can only have ones and zeros. Accessing a value: kernel[row][column].
[[1, 1, 1], [1, 1, 1], [1, 1, 1]]
Number of iterations of the algorithm.