Problem to be solved: to provide information to the user as a material for judging whether the image generated by the processing including the neural network is valid.A receiving signal output from an ultrasonic probe receiving ultrasonic waves from the subject is received to generate an ultrasonic image based on the received signal.A received signal or an ultrasonic image is input, and a guess received signal or a guess ultrasonic image is output by a learned neural network.By using one or more of the received signal, ultrasonic image, guess received signal, guessed ultrasound image, and the output of the intermediate layer of the neural network, the validity information generating portion generates information indicative of the validity of the guess received or speculated ultrasonic image.Diagram【課題】ニューラルネットワークを含む処理により生成された画像が妥当かどうかを判断する材料となる情報をユーザに提供する。【解決手段】被検体からの超音波を受信した超音波探触子が出力する受信信号を受け取って、受信信号に基づいて超音波画像を生成する。受信信号または超音波画像を入力とし、学習済みのニューラルネットワークにより推測受信信号または推測超音波画像を出力する。受信信号、超音波画像、推測受信信号、推測超音波画像、および、ニューラルネットワークの中間層の出力、のうちの一つ以上を用いて、妥当性情報生成部は、推測受信信号または推測超音波画像の妥当性を示す情報を生成する。【選択図】 図1