Image convolution: Difference between revisions
Content added Content deleted
m (J: bugfix) |
m (J: fix comment to match new behavior) |
||
Line 610: | Line 610: | ||
=={{header|J}}== |
=={{header|J}}== |
||
<lang J>NB. pad the |
<lang J>NB. pad the edges of an array with border pixels |
||
NB. (increasing all dimensions by 1 less than the kernel size) |
NB. (increasing all dimensions by 1 less than the kernel size) |
||
pad=:adverb define |
pad=:adverb define |