Quasi-real time acquisition and processing for biomedical IR and conventional imaging in surgery applications