convolution monochrome add kernal logic