Feasibilty Analysis for Hardware Acceleration of Pattern Recognition Algorithms