On-Board, Real-Time Preprocessing System for Optical Remote-Sensing Imagery