According to one embodiment, an edge information calculation unit calculates edge information based on a generated ultrasonic image. An edge filter unit generates a filtered image from the ultrasonic image by applying a filter having filter characteristics corresponding to the calculated edge information to the ultrasonic image. An edge enhancement unit generates an enhanced image from the filtered image by increasing the brightness value, of the filtered image, which corresponds to the edge information. A high brightness suppression unit generates a composite image of the enhanced image and the ultrasonic image in accordance with a compositing ratio corresponding to the brightness value of the enhanced image.