Intelligent Optical Systems