Continuous reference images for FTIR touch sensing