The combination of gates shown below yields

The combination of gates shown below yields

A device that processes light waves (or photons), either to enhance an image for viewing or to analyze and determine its characteristic properties is called an optical instrument (or "optic" for short).