A programmable metalens processes images on chip
A study in Laser & Photonics Reviews describes a reconfigurable optical image processor based on an on-chip metalens. The researchers program the phase response to change how the device processes an incoming image. The demonstrated functions include operations used to extract or emphasise features.
Putting those operations in the optical path could reduce the processing needed after an image reaches a sensor. Whether that helps in a practical system depends on the cost of configuring and reading the device, alongside the quality of the optical result.