An ultrasonic diagnostic apparatus includes: a first hardware processor that generates ultrasonic image data, based on a reception signal obtained by an ultrasonic probe that transmits and receives an ultrasonic wave; a storage that stores first image parameters associated with a depth corresponding to an ROI; and a second hardware processor that causes the first hardware processor to generate the ultrasonic image data, based on the first image parameters.