Cognex interview question

Write code to do a convolution in your language choice.