Some embodiments include acquisition of color Doppler data, detection of one or more transitions of the color Doppler data, each of the one or more transitions being between a first area representing flow velocity in a first direction and a second area representing flow velocity not in the first direction, and application of a first set of aliasing corrections to the color Doppler data to generate second color Doppler data. For each of the one or more transitions, a first energy function is calculated based on the one or more pairs of color Doppler values in the second color Doppler data, and a first total energy function associated with the first set of aliasing corrections is determined based on the calculated first energy functions. Next, a second total energy function associated with a second set of aliasing corrections is determined based on calculated second energy functions.