Intelligent camera design based on real-time high dynamic range image