In general, according to one embodiment, an ultrasonic diagnostic apparatus includes an image generating unit configured to generate medical images from a multislice which covers an area including the heart of an object. Each slice is almost perpendicular to the long axis of the heart. Each medical image is a short-axis image of the heart. A series of medical images captured at different times correspond to each slice. The embodiment generates a polar map associated with myocardial motion indices from a plurality of medical images. A polar map is segmented into segments. The embodiment calculates the average value of motion indices for each segment. The utility of an average value depends on the range covered by each segment. This embodiment matches the boundary of a segment with the position of a vein. This prevents a deterioration in the utility of average values due to the influences of veins.