Real-time Image Processing on an FPGA for an Intraoperative Goggle Device