PROBLEM TO BE SOLVED: To provide an ultrasonic diagnostic apparatus, an image processing apparatus, and an image processing program which can reduce a time and effort allowing a rendering image which is easy to observe to be displayed.SOLUTION: The ultrasonic diagnostic apparatus has a light source setting section, a rendering control section, and a display control section. The light source setting section, on the basis of the shape of a region of interest which is included in three-dimensional image data collected by an ultrasonic probe, sets a direction in which the region of interest is depicted. The rendering control section controls to generate the rendering image in which the region of interest is depicted in the direction set by the light source setting section. The display control section controls to display the rendering image on a display section.