Design of an integrated optical preprocessor for remote sensing applications