Text this: Hardware and software co-simulation platform for convolution or correlation based image processing algorithms