Gradient-Index Metamaterial Infrared Detector For Enhanced Photo-Response And Image Quality