Automatic synthesis of vision processors on reconfigurable hardware