Optimized principal component analysis for camera spectral sensitivity estimation