Study of Implementation of Image Analysis with Hardware and Software Co-Design on the Xilinx Platform