A method of recognizing at least one moving anatomical structure using ultrasound data that operates by receiving ultrasound data (100). The ultrasound data comprises Doppler shift information which provides information descriptive of the velocity of at least one anatomical structure. The ultrasound data is first divided into a series of time frames (102). A classification is then assigned to each of the time frames using the Doppler shift information (104). The at least one anatomical structure is then recognized by using the classification of each time frame (106). This is possible, because different anatomical structures produce different patterns in the Doppler shift information.