• + 2 comments

    I think the question should mention that the assumption is that the boundary pixels should be padded with 0's not 1's :)