Optical imaging of hemoglobin oxygen saturation using a small number of spectral images for endoscopic application