Aspects of the technology described herein relate to ultrasound imaging of lungs. An ultrasound device may be configured with a set of parameter values associated with a shallow lung imaging mode. A selection of a change in imaging depth may be received. If the selected imaging depth is greater than or equal to a threshold imaging depth, the ultrasound device may be configured with a set of parameter values associated with a deep lung imaging mode. The set of parameter values associated with the shallow lung imaging mode may be optimized for imaging lung sliding and the set of parameter values associated with the deep lung imaging mode may be optimized for imaging A lines and B lines.