An embedded smart agile pixel imager for lasers