According to one embodiment, an ultrasonic diagnostic apparatus includes an image acquisition unit configured to acquire an ultrasonic image, a first calculation unit which calculates directions of edges in a local region in the ultrasonic image, sizes of the edges in the local region, and directional uniformity of the edges in the local region, a second calculation unit which calculates a composite coefficient by using the sizes of the edges and the directional uniformity of the edges, a third calculation unit which calculates a filtering coefficient for a region corresponding to the local region based on the composite coefficient, and a filtering unit which performs filtering processing for sharpening or smoothing the ultrasonic image with respect to the ultrasonic image by using the filtering coefficient.