The present disclosure discloses a system and method for ultrasonic imaging. The method includes receiving a user-defined control gesture and associating the control gesture with a function selected by a user; forming a control gesture signal and function association database; when the ultrasonic imaging system is in normal operation, receiving a current control gesture signal and matching the current control gesture with a control gesture in the database to determine a function associated with the matched control gesture; and controlling the ultrasonic imaging system to perform the associated function. According to the present disclosure, it is very convenient for users to define customized control gestures according to their personal operation routines and habits.