image convolution stencil pattern stub