Efficient algorithms for embedded tactile data processing