A computer program product comprising at least one computer-readable storage medium, the computer-readable storage medium comprising a set of instructions, which, when executed by one or more processors, cause an apparatus to at least perform:
- filter incident light by an IR cut-off filter disposed in an optical path between a lens and an image sensor to generate filtered light, the IR cut-off filter comprising a plurality of pixels with pass-band characteristics for visible light wavelengths associated with the incident light, the plurality of pixels configured to perform stop-band attenuation of near infrared (NIR) wavelengths associated with the incident light for filtering of the incident light, the stop-band attenuation of the NIR wavelengths configured to vary based on spatial location of pixels of the plurality of pixels within the IR cut-off filter;
- sense the filtered light received from the IR cut-off filter by the image sensor to generate sensed light;
- determine a baseband signal and a modulated NIR signal by performing transformation of the sensed light;
- determine a NIR spectrum associated with the incident light by demodulating the modulated NIR signal;
- and
- determine a visible spectrum associated with the incident light based on the NIR spectrum and the baseband signal.