Advanced automated gain adjustments for in-vivo ultrasound imaging