Optical image processing by matched amplification