Text this: Modeling of image processing algorithms for hardware-software co-simulation