Automatic dynamic range estimation for ultrasound image visualization and processing